AI-generated Key Takeaways
-
GCKRequestDelegate is a protocol used to track the status of an asynchronous GCKRequest.
-
The protocol includes methods to notify when a request completes successfully, fails with an error, or is no longer being tracked.
-
The
requestDidComplete:method is called when a request finishes without errors. -
The
request:didFailWithError:method is called when a request encounters an error. -
The
request:didAbortWithReason:method is called when a request is no longer being tracked, regardless of success or failure.
Overview
The GCKRequest delegate protocol.
- Since
- 3.0
Inherits <NSObjectNSObject>.
Instance Method Summary | |
| (void) | - requestDidComplete: |
| Called when the request has successfully completed. More... | |
| (void) | - request:didFailWithError: |
| Called when the request has failed. More... | |
| (void) | - request:didAbortWithReason: |
| Called when the request is no longer being tracked. More... | |
Method Detail
|
optional |
Called when the request has successfully completed.
- Parameters
-
request The request.
|
optional |
Called when the request has failed.
- Parameters
-
request The request. error The error describing the failure.
|
optional |
Called when the request is no longer being tracked.
It does not guarantee that the request has succeed or failed.
- Parameters
-
request The request. abortReason The reason why the request is no longer being tracked.