<GCKCastDeviceStatusListener> Protocol
Stay organized with collections
Save and categorize content based on your preferences.
A listener protocol for receiving Cast device status change notifications.
- Since
- 3.0
Inherits <GCKSessionNSObject>.
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveActiveInputStatus: |
|
(GCKActiveInputStatus) |
activeInputStatus |
|
|
| |
|
optional |
Called when the Cast device's active input status has changed.
- Parameters
-
castSession | The Cast session. |
activeInputStatus | The new active input status. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveStandbyStatus: |
|
(GCKStandbyStatus) |
standbyStatus |
|
|
| |
|
optional |
Called when the Cast device's standby status has changed.
- Parameters
-
castSession | The Cast session. |
standbyStatus | The new standby status. |
Called when the Cast device's multizone status has changed.
- Parameters
-
castSession | The Cast session. |
multizoneStatus | The new multizone status. |
Called whenever a multizone device is added.
- Parameters
-
castSession | The Cast session. |
device | The newly-added multizone device. |
Called whenever a multizone device is updated.
- Parameters
-
castSession | The Cast session. |
device | The updated multizone device. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didRemoveMultizoneDeviceWithID: |
|
(NSString *) |
deviceID |
|
|
| |
|
optional |
Called whenever a multizone device is removed.
- Parameters
-
castSession | The Cast session. |
deviceID | The deviceID of the removed multizone device. |
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 `GCKCastDeviceStatusListener` protocol allows you to receive notifications about changes in a Cast device's status, such as active input, standby, and multizone status."],["This protocol provides methods to monitor changes to the Cast device's active input, standby status, and multizone status, including the addition, update, and removal of multizone devices."],["Implement this protocol in your application to receive notifications about changes to a Cast device's status, which can be used to update the user interface or trigger other actions in response to device events."],["The methods in this protocol are optional and are called on the main thread."]]],[]]