<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`."],["It includes methods to notify the delegate when a request completes successfully, fails, or is aborted."],["Delegate methods provide information about the request and any errors or reasons for abortion."],["This protocol is essential for tracking the status of asynchronous requests made using the Google Cast SDK."]]],[]]