GCKCastDeviceStatusListener> 通訊協定(<)

<GCKCastDeviceStatusListener> 通訊協定參考資料

總覽

用於接收投放裝置狀態變更通知的事件監聽器通訊協定。

開始時間
3.0

繼承 <GCKSessionNSObject>。

執行個體方法摘要

(void) - castSession:didReceiveActiveInputStatus:
 當投放裝置的有效輸入狀態變更時呼叫。更多...
 
(void) - castSession:didReceiveStandbyStatus:
 當投放裝置的待機狀態變更時呼叫。更多...
 
(void) - castSession:didReceiveMultizoneStatus:
 當投放裝置的多區域狀態變更時呼叫。更多...
 
(void) - castSession:didAddMultizoneDevice:
 新增多可用區裝置時呼叫。更多...
 
(void) - castSession:didUpdateMultizoneDevice:
 每次更新多可用區裝置時呼叫。更多...
 
(void) - castSession:didRemoveMultizoneDeviceWithID:
 每次移除多可用區裝置時都會呼叫。更多...
 

方法詳細資料

- (void) castSession: (GCKCastSession *)  castSession
didReceiveActiveInputStatus: (GCKActiveInputStatus)  activeInputStatus 
optional

當投放裝置的有效輸入狀態變更時呼叫。

Parameters
castSessionThe Cast session.
activeInputStatusThe new active input status.
- (void) castSession: (GCKCastSession *)  castSession
didReceiveStandbyStatus: (GCKStandbyStatus)  standbyStatus 
optional

當投放裝置的待機狀態變更時呼叫。

Parameters
castSessionThe Cast session.
standbyStatusThe new standby status.
- (void) castSession: (GCKCastSession *)  castSession
didReceiveMultizoneStatus: (GCKMultizoneStatus *)  multizoneStatus 
optional

當投放裝置的多區域狀態變更時呼叫。

Parameters
castSessionThe Cast session.
multizoneStatusThe new multizone status.
- (void) castSession: (GCKCastSession *)  castSession
didAddMultizoneDevice: (GCKMultizoneDevice *)  device 
optional

新增多可用區裝置時呼叫。

Parameters
castSessionThe Cast session.
deviceThe newly-added multizone device.
- (void) castSession: (GCKCastSession *)  castSession
didUpdateMultizoneDevice: (GCKMultizoneDevice *)  device 
optional

每次更新多可用區裝置時呼叫。

Parameters
castSessionThe Cast session.
deviceThe updated multizone device.
- (void) castSession: (GCKCastSession *)  castSession
didRemoveMultizoneDeviceWithID: (NSString *)  deviceID 
optional

每次移除多可用區裝置時都會呼叫。

Parameters
castSessionThe Cast session.
deviceIDThe deviceID of the removed multizone device.