<GCKCastDeviceStatusListener> プロトコル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
キャスト デバイスのステータス変更通知を受け取るためのリスナー プロトコル。
- 開始:
- 3.0
<GCKSessionNSObject> を継承します。
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveActiveInputStatus: |
|
(GCKActiveInputStatus) |
activeInputStatus |
|
|
| |
|
optional |
キャスト デバイスのアクティブな入力ステータスが変更されたときに呼び出されます。
- Parameters
-
castSession | The Cast session. |
activeInputStatus | The new active input status. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveStandbyStatus: |
|
(GCKStandbyStatus) |
standbyStatus |
|
|
| |
|
optional |
キャスト デバイスのスタンバイ ステータスが変更されたときに呼び出されます。
- Parameters
-
castSession | The Cast session. |
standbyStatus | The new standby status. |
キャスト デバイスのマルチゾーン ステータスが変更されたときに呼び出されます。
- Parameters
-
castSession | The Cast session. |
multizoneStatus | The new multizone status. |
マルチゾーン デバイスが追加されるたびに呼び出されます。
- Parameters
-
castSession | The Cast session. |
device | The newly-added multizone device. |
マルチゾーン デバイスが更新されるたびに呼び出されます。
- Parameters
-
castSession | The Cast session. |
device | The updated multizone device. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didRemoveMultizoneDeviceWithID: |
|
(NSString *) |
deviceID |
|
|
| |
|
optional |
マルチゾーン デバイスが削除されるたびに呼び出されます。
- Parameters
-
castSession | The Cast session. |
deviceID | The deviceID of the removed multizone device. |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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."]]],[]]