<GCKRequestDelegate> Protocol
Stay organized with collections
Save and categorize content based on your preferences.
The GCKRequest delegate protocol.
- Since
- 3.0
Inherits <NSObjectNSObject>.
- (void) requestDidComplete: |
|
(GCKRequest *) |
request |
|
|
optional |
Called when the request has successfully completed.
- Parameters
-
Called when the request has failed.
- Parameters
-
request | The request. |
error | The error describing the failure. |
- (void) request: |
|
(GCKRequest *) |
request |
didAbortWithReason: |
|
(GCKRequestAbortReason) |
abortReason |
|
|
| |
|
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `GCKRequestDelegate` protocol defines methods to handle the lifecycle of a `GCKRequest`, 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."]]],[]]