GCKRemoteMediaClient(Protected) 类别

GCKRemoteMediaClient(Protected) 类别参考

概览

只能由 GCKRemoteMediaClient 子类调用的方法。

开始时间
3.3

实例方法摘要

(void) - notifyDidStartMediaSession
 每当媒体会话开始时(即在远程播放器上成功加载新媒体后立即由子类调用)。更多...
 
(void) - notifyDidUpdateMediaStatus
 每当客户端的 mediaStatus 对象更改时,由子类调用。更多...
 
(void) - notifyDidUpdateQueue
 每当客户端管理的媒体队列发生变化时,子类都会调用该方法。更多...
 
(void) - notifyDidUpdatePreloadStatus
 每当客户端的 GCKMediaStatusGCKMediaStatus::preloadedItemID 发生变化时,由子类调用。更多...
 
(void) - notifyDidUpdateMetadata
 在元数据发生变化时由子类调用。更多...
 
(void) - notifyDidReceiveQueueItemIDs:
 在收到媒体队列项 ID 列表时,由子类调用。更多...
 
(void) - notifyDidInsertQueueItemsWithIDs:beforeItemWithID:
 每当有连续的一系列队列项插入队列中时,子类将调用此方法。更多...
 
(void) - notifyDidUpdateQueueItemsWithIDs:
 每当队列中的现有队列项已更新时,子类都会调用此方法。更多...
 
(void) - notifyDidRemoveQueueItemsWithIDs:
 每当从队列中删除连续序列的队列项时,子类都会调用此方法。更多...
 
(void) - notifyDidReceiveQueueItems:
 每当收到队列项时都由子类调用。更多...
 

方法详细信息

- (void) notifyDidStartMediaSession

每当媒体会话开始时(即在远程播放器上成功加载新媒体后立即由子类调用)。

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidUpdateMediaStatus

每当客户端的 mediaStatus 对象更改时,由子类调用。

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidUpdateQueue

每当客户端管理的媒体队列发生变化时,子类都会调用该方法。

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidUpdatePreloadStatus

每当客户端的 GCKMediaStatusGCKMediaStatus::preloadedItemID 发生变化时,由子类调用。

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidUpdateMetadata

在元数据发生变化时由子类调用。

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidReceiveQueueItemIDs: (NSArray< NSNumber * > *)  itemIDs

在收到媒体队列项 ID 列表时,由子类调用。

Parameters
itemIDsThe list of queue item IDs.
开始时间
4.1

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidInsertQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs
beforeItemWithID: (GCKMediaQueueItemID beforeItemID 

每当有连续的一系列队列项插入队列中时,子类将调用此方法。

Parameters
itemIDsThe list of queue item IDs identifying the items that were inserted.
beforeItemIDThe ID of the queue item in front of which the new items were inserted, or kGCKInvalidQueueItemID if the items were appended to the end of the queue.
开始时间
4.1

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidUpdateQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

每当队列中的现有队列项已更新时,子类都会调用此方法。

Parameters
itemIDsThe list of queue item IDs identifying the items that were updated.
开始时间
4.1

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidRemoveQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

每当从队列中删除连续序列的队列项时,子类都会调用此方法。

Parameters
itemIDsThe list of queue item IDs identifying the items that were removed.
开始时间
4.1

扩展 GCKRemoteMediaClient 类。

- (void) notifyDidReceiveQueueItems: (NSArray< GCKMediaQueueItem * > *)  items

每当收到队列项时都由子类调用。

Parameters
itemsThe list of queue items.
开始时间
4.1

扩展 GCKRemoteMediaClient 类。