AI-generated Key Takeaways
-
The
GCKRequestDelegate
protocol defines methods to handle the lifecycle of aGCKRequest
, providing callbacks for success, failure, and abortion. -
requestDidComplete:
is called when a request successfully completes. -
request:didFailWithError:
is called when a request fails, providing an error object with details about the failure. -
request:didAbortWithReason:
is called when a request is no longer tracked, indicating it may not have completed or failed, with a reason for the abortion.
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.