<GCKRemoteMediaClientListener> Протокол

Справочник по протоколу <GCKRemoteMediaClientListener>

Обзор

Протокол прослушивателя GCKRemoteMediaClient .

С
3.0

Наследует <NSObjectNSObject>.

Сводка метода экземпляра

(void) - remoteMediaClient:didStartMediaSessionWithID:
Вызывается, когда на приемнике начался новый сеанс мультимедиа. Более...
(void) - remoteMediaClient:didUpdateMediaStatus:
Вызывается, когда от получателя получен обновленный статус мультимедиа. Более...
(void) - remoteMediaClient:didUpdateMediaMetadata:
Вызывается, когда от получателя получены обновленные метаданные мультимедиа. Более...
(void) - remoteMediaClientDidUpdateQueue:
Вызывается, когда на приемнике обновлена ​​очередь воспроизведения мультимедиа. Более...
(void) - remoteMediaClientDidUpdatePreloadStatus:
Вызывается, когда статус предварительной загрузки мультимедиа был обновлен на приемнике. Более...
(void) - remoteMediaClient:didReceiveQueueItemIDs:
Вызывается, когда получен список идентификаторов элементов очереди мультимедиа. Более...
(void) - remoteMediaClient:didInsertQueueItemsWithIDs:beforeItemWithID:
Вызывается, когда в очередь мультимедиа вставлена ​​непрерывная последовательность элементов. Более...
(void) - remoteMediaClient:didUpdateQueueItemsWithIDs:
Вызывается, когда существующие элементы были обновлены в очереди мультимедиа. Более...
(void) - remoteMediaClient:didRemoveQueueItemsWithIDs:
Вызывается, когда непрерывная последовательность элементов была удалена из очереди мультимедиа. Более...
(void) - remoteMediaClient:didReceiveQueueItems:
Вызывается, когда получена подробная информация для одного или нескольких элементов в очереди. Более...

Подробности метода

- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didStartMediaSessionWithID: (NSInteger)  sessionID  
optional

Вызывается, когда на приемнике начался новый сеанс мультимедиа.

Parameters
clientThe client.
sessionIDThe ID of the new session.
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didUpdateMediaStatus: (nullable GCKMediaStatus *)  mediaStatus  
optional

Вызывается, когда от получателя получен обновленный статус мультимедиа.

Parameters
clientThe client.
mediaStatusThe updated media status. The status can also be accessed as a property of the player.
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didUpdateMediaMetadata: (nullable GCKMediaMetadata *)  mediaMetadata  
optional

Вызывается, когда от получателя получены обновленные метаданные мультимедиа.

Parameters
clientThe client.
mediaMetadataThe updated media metadata. The metadata can also be accessed through the GCKRemoteMediaClient::mediaStatus property.
- (void) remoteMediaClientDidUpdateQueue: ( GCKRemoteMediaClient *)  client
optional

Вызывается, когда на приемнике обновлена ​​очередь воспроизведения мультимедиа.

Parameters
clientThe client.
- (void) remoteMediaClientDidUpdatePreloadStatus: ( GCKRemoteMediaClient *)  client
optional

Вызывается, когда статус предварительной загрузки мультимедиа был обновлен на приемнике.

Parameters
clientThe client.
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didReceiveQueueItemIDs: (NSArray< NSNumber * > *)  queueItemIDs  
optional

Вызывается, когда получен список идентификаторов элементов очереди мультимедиа.

Parameters
clientThe client.
queueItemIDsThe list of media queue item IDs.
С
4.1
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didInsertQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
beforeItemWithID: ( GCKMediaQueueItemID beforeItemID  
optional

Вызывается, когда в очередь мультимедиа вставлена ​​непрерывная последовательность элементов.

Parameters
clientThe client.
queueItemIDsThe item IDs of the inserted items.
beforeItemIDThe 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
clientThe client.
queueItemIDsThe item IDs of the updated items.
С
4.1
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didRemoveQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs  
optional

Вызывается, когда непрерывная последовательность элементов была удалена из очереди мультимедиа.

Parameters
clientThe client.
queueItemIDsThe item IDs of the removed items.
С
4.1
- (void) remoteMediaClient: ( GCKRemoteMediaClient *)  client
didReceiveQueueItems: (NSArray< GCKMediaQueueItem * > *)  queueItems  
optional

Вызывается, когда получена подробная информация для одного или нескольких элементов в очереди.

Parameters
clientThe client.
queueItemsThe queue items.
С
4.1