<GCKRemoteMediaClientListener> Protokol
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
GCKRemoteMediaClient işleyici protokolü.
- yılından beri
- 3,0
<NSObjectNSObject> öğesini devralır.
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didStartMediaSessionWithID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
Alıcıda yeni bir medya oturumu başladığında çağrılır.
- Parameters
-
client | The client. |
sessionID | The ID of the new session. |
Alıcıdan güncellenmiş medya durumu alındığında çağrılır.
- Parameters
-
client | The client. |
mediaStatus | The updated media status. The status can also be accessed as a property of the player. |
Alıcıdan güncellenmiş medya meta verileri alındığında çağrılır.
- Parameters
-
Alıcıda medya oynatma sırası güncellendiğinde çağrılır.
- Parameters
-
Alıcıda medya önceden yükleme durumu güncellendiğinde çağrılır.
- Parameters
-
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didReceiveQueueItemIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Medya sırası öğe kimlikleri listesi alındığında çağrılır.
- Parameters
-
client | The client. |
queueItemIDs | The list of media queue item IDs. |
- yılından beri
- 4,1
Medya sırasına ardışık bir öğe dizisi eklendiğinde çağrılır.
- 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. |
- yılından beri
- 4,1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Medya sırasındaki mevcut öğeler güncellendiğinde çağrılır.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the updated items. |
- yılından beri
- 4,1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Ardışık bir öğe dizisi medya sırasından kaldırıldığında çağrılır.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the removed items. |
- yılından beri
- 4,1
Sıradaki bir veya daha fazla öğeyle ilgili ayrıntılı bilgi alındığında çağrılır.
- Parameters
-
client | The client. |
queueItems | The queue items. |
- yılından beri
- 4,1
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-01 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]