<GCKRequestDelegate> 프로토콜
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
GCKRequest 위임 프로토콜
- 다음 이후:
- 3.0
<NSObjectNSObject>를 상속합니다.
- (void) requestDidComplete: |
|
(GCKRequest *) |
request |
|
|
optional |
요청이 성공적으로 완료되었을 때 호출됩니다.
- Parameters
-
요청이 실패하면 호출됩니다.
- Parameters
-
request | The request. |
error | The error describing the failure. |
- (void) request: |
|
(GCKRequest *) |
request |
didAbortWithReason: |
|
(GCKRequestAbortReason) |
abortReason |
|
|
| |
|
optional |
요청을 더 이상 추적하지 않을 때 호출됩니다.
요청의 성공 또는 실패가 보장되지 않습니다.
- Parameters
-
request | The request. |
abortReason | The reason why the request is no longer being tracked. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eGCKRequestDelegate\u003c/code\u003e protocol defines methods to handle the lifecycle of a \u003ccode\u003eGCKRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods to notify the delegate when a request completes successfully, fails, or is aborted.\u003c/p\u003e\n"],["\u003cp\u003eDelegate methods provide information about the request and any errors or reasons for abortion.\u003c/p\u003e\n"],["\u003cp\u003eThis protocol is essential for tracking the status of asynchronous requests made using the Google Cast SDK.\u003c/p\u003e\n"]]],[],null,["# <GCKRequestDelegate> Protocol\n\n[Instance Methods](#pub-methods) \n\\\u003cGCKRequestDelegate\\\u003e Protocol Reference \n\nOverview\n--------\n\nThe [GCKRequest](/cast/docs/reference/ios/interface_g_c_k_request \"An object for tracking an asynchronous request. \") delegate protocol.\n\nSince\n: 3.0\n\nInherits \\\u003cNSObjectNSObject\\\u003e.\n\n|--------|-------------------------------------------------------------------------------------------------------------------------------|\n| Instance Method Summary ----------------------- ||\n| (void) | - [requestDidComplete:](/cast/docs/reference/ios/protocol_g_c_k_request_delegate-p#a9c6e7715c587fdd087739d610bf8ce71) |\n| | Called when the request has successfully completed. [More...](#a9c6e7715c587fdd087739d610bf8ce71) |\n| ||\n| (void) | - [request:didFailWithError:](/cast/docs/reference/ios/protocol_g_c_k_request_delegate-p#a1b698b8223fd7101ca187309f755cf7b) |\n| | Called when the request has failed. [More...](#a1b698b8223fd7101ca187309f755cf7b) |\n| ||\n| (void) | - [request:didAbortWithReason:](/cast/docs/reference/ios/protocol_g_c_k_request_delegate-p#a97196a5186c90fb0f825c3afbfbf663b) |\n| | Called when the request is no longer being tracked. [More...](#a97196a5186c90fb0f825c3afbfbf663b) |\n| ||\n\nMethod Detail\n-------------\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| |------------------------------|---|---------------------------------------------------------------------|-----------|---| | - (void) requestDidComplete: | | ([GCKRequest](/cast/docs/reference/ios/interface_g_c_k_request) \\*) | *request* | | | optional |\n\nCalled when the request has successfully completed.\n\nParameters\n:\n\n |---------|--------------|\n | request | The request. |\n\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| |-------------------|---|---------------------------------------------------------------------|-----------| | - (void) request: | | ([GCKRequest](/cast/docs/reference/ios/interface_g_c_k_request) \\*) | *request* | | didFailWithError: | | ([GCKError](/cast/docs/reference/ios/interface_g_c_k_error) \\*) | *error* | | | | | | | optional |\n\nCalled when the request has failed.\n\nParameters\n:\n\n |---------|-----------------------------------|\n | request | The request. |\n | error | The error describing the failure. |\n\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| |---------------------|---|---------------------------------------------------------------------|---------------| | - (void) request: | | ([GCKRequest](/cast/docs/reference/ios/interface_g_c_k_request) \\*) | *request* | | didAbortWithReason: | | (GCKRequestAbortReason) | *abortReason* | | | | | | | optional |\n\nCalled when the request is no longer being tracked.\n\nIt does not guarantee that the request has succeed or failed.\n\nParameters\n:\n\n |-------------|--------------------------------------------------------|\n | request | The request. |\n | abortReason | The reason why the request is no longer being tracked. |"]]