<GCKCastDeviceStatusListener> Protocol
Stay organized with collections
Save and categorize content based on your preferences.
-
The GCKCastDeviceStatusListener protocol is used for receiving Cast device status change notifications.
-
This protocol includes methods to be called when the Cast device's active input status, standby status, or multizone status changes.
-
Methods are also provided to notify when a multizone device is added, updated, or removed.
-
The protocol inherits from GCKSessionNSObject and was introduced in version 3.0.
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.
[null,null,["Last updated 2024-09-18 UTC."],[],[]]