<GCKRemoteMediaClientListener> プロトコル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
<NSObjectNSObject> を継承します。
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didStartMediaSessionWithID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
レシーバーで新しいメディア セッションが開始されたときに呼び出されます。
- Parameters
-
client | The client. |
sessionID | The ID of the new session. |
更新されたメディア ステータスが受信側から受信されたときに呼び出されます。
- Parameters
-
client | The client. |
mediaStatus | The updated media status. The status can also be accessed as a property of the player. |
更新されたメディア メタデータがレシーバーから受信されたときに呼び出されます。
- Parameters
-
レシーバーでメディア再生キューが更新されたときに呼び出されます。
- Parameters
-
レシーバーでメディアのプリロード ステータスが更新されたときに呼び出されます。
- Parameters
-
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didReceiveQueueItemIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
メディアキュー アイテム ID のリストを受け取ったときに呼び出されます。
- Parameters
-
client | The client. |
queueItemIDs | The list of media queue item IDs. |
- 開始:
- 4.1
連続するアイテム シーケンスがメディアキューに挿入されたときに呼び出されます。
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the inserted items. |
beforeItemID | The item ID of the item in front of which the new items have been inserted. If the value is kGCKMediaQueueInvalidItemID, it indicates that the items were appended at the end of the queue. |
- 開始:
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
メディアキュー内の既存のアイテムが更新されたときに呼び出されます。
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the updated items. |
- 開始:
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
連続する一連のアイテムがメディアキューから削除されたときに呼び出されます。
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the removed items. |
- 開始:
- 4.1
キュー内の 1 つ以上のアイテムに関する詳細情報を受け取ったときに呼び出されます。
- Parameters
-
client | The client. |
queueItems | The queue items. |
- 開始:
- 4.1
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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 `GCKRemoteMediaClientListener` protocol defines methods to receive updates on media playback and queue status from a Cast receiver."],["It provides notifications for media session start, status changes, metadata updates, and queue modifications."],["Developers can implement this protocol to build Cast-enabled applications that respond to playback events on the receiver."],["This protocol includes methods for handling queue item insertion, update, removal, and retrieval of detailed information."],["Introduced in version 3.0 and continually enhanced with features like queue management in later versions."]]],["The `GCKRemoteMediaClientListener` protocol defines methods for monitoring media playback on a Cast receiver. Key actions include receiving updates on: new media session starts with `didStartMediaSessionWithID:`, media status changes via `didUpdateMediaStatus:`, and metadata updates through `didUpdateMediaMetadata:`. It also handles queue modifications with methods like `remoteMediaClientDidUpdateQueue:`, `didReceiveQueueItemIDs:`, `didInsertQueueItemsWithIDs:beforeItemWithID:`, `didUpdateQueueItemsWithIDs:`, `didRemoveQueueItemsWithIDs:`, `didReceiveQueueItems:`, and `remoteMediaClientDidUpdatePreloadStatus:`. Each method is linked to the client and relevant identifiers.\n"]]