Protocollo <GCKCastDeviceStatusListener>
Un protocollo listener per la ricezione di notifiche relative alle modifiche dello stato del dispositivo di trasmissione.
- Dal
- 3,0
Eredita <GCKSessionNSObject>.
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveActiveInputStatus: |
|
(GCKActiveInputStatus) |
activeInputStatus |
|
|
| |
|
optional |
Richiamato quando è cambiato lo stato dell'ingresso attivo del dispositivo di trasmissione.
- Parameters
-
castSession | The Cast session. |
activeInputStatus | The new active input status. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveStandbyStatus: |
|
(GCKStandbyStatus) |
standbyStatus |
|
|
| |
|
optional |
Chiamato quando lo stato di standby del dispositivo di trasmissione è cambiato.
- Parameters
-
castSession | The Cast session. |
standbyStatus | The new standby status. |
Richiamato quando lo stato multizona del dispositivo di trasmissione è cambiato.
- Parameters
-
castSession | The Cast session. |
multizoneStatus | The new multizone status. |
Chiamato ogni volta che viene aggiunto un dispositivo multizona.
- Parameters
-
castSession | The Cast session. |
device | The newly-added multizone device. |
Richiamato quando viene aggiornato un dispositivo multizona.
- Parameters
-
castSession | The Cast session. |
device | The updated multizone device. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didRemoveMultizoneDeviceWithID: |
|
(NSString *) |
deviceID |
|
|
| |
|
optional |
Richiamato quando viene rimosso un dispositivo multizona.
- Parameters
-
castSession | The Cast session. |
deviceID | The deviceID of the removed multizone device. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2023-12-01 UTC.
[null,null,["Ultimo aggiornamento 2023-12-01 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."]]],[]]