<GCKRemoteMediaClientListener> Giao thức

Tham chiếu giao thức <GCKRemoteMediaClientListener>

Tổng quan

Giao thức trình nghe GCKRemoteMediaClient.

Năm thành lập
3

Kế thừa <NSObjectNSObject>.

Tóm tắt phương thức thực thể

(void) - remoteMediaClient:didStartMediaSessionWithID:
 Được gọi khi một phiên phát nội dung đa phương tiện mới bắt đầu trên thiết bị nhận. Xem thêm...
 
(void) - remoteMediaClient:didUpdateMediaStatus:
 Được gọi khi nhận trạng thái nội dung nghe nhìn cập nhật từ thiết bị nhận. Xem thêm...
 
(void) - remoteMediaClient:didUpdateMediaMetadata:
 Được gọi khi nhận được siêu dữ liệu đa phương tiện đã cập nhật từ receiver. Xem thêm...
 
(void) - remoteMediaClientDidUpdateQueue:
 Được gọi khi hàng đợi phát nội dung đa phương tiện đã được cập nhật trên thiết bị nhận. Xem thêm...
 
(void) - remoteMediaClientDidUpdatePreloadStatus:
 Được gọi khi trạng thái tải trước nội dung nghe nhìn đã được cập nhật trên receiver. Xem thêm...
 
(void) - remoteMediaClient:didReceiveQueueItemIDs:
 Được gọi khi nhận được danh sách mã mục trong hàng đợi nội dung đa phương tiện. Xem thêm...
 
(void) - remoteMediaClient:didInsertQueueItemsWithIDs:beforeItemWithID:
 Được gọi khi một chuỗi mục liền kề được chèn vào hàng đợi nội dung đa phương tiện. Xem thêm...
 
(void) - remoteMediaClient:didUpdateQueueItemsWithIDs:
 Được gọi khi các mục hiện có đã được cập nhật trong hàng đợi nội dung đa phương tiện. Xem thêm...
 
(void) - remoteMediaClient:didRemoveQueueItemsWithIDs:
 Được gọi khi một chuỗi mục liền kề đã bị xoá khỏi hàng đợi nội dung đa phương tiện. Xem thêm...
 
(void) - remoteMediaClient:didReceiveQueueItems:
 Được gọi khi nhận được thông tin chi tiết về một hoặc nhiều mục trong hàng đợi. Xem thêm...
 

Chi tiết phương pháp

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

Được gọi khi một phiên phát nội dung đa phương tiện mới bắt đầu trên thiết bị nhận.

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

Được gọi khi nhận trạng thái nội dung nghe nhìn cập nhật từ thiết bị nhận.

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

Được gọi khi nhận được siêu dữ liệu đa phương tiện đã cập nhật từ receiver.

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

Được gọi khi hàng đợi phát nội dung đa phương tiện đã được cập nhật trên thiết bị nhận.

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

Được gọi khi trạng thái tải trước nội dung nghe nhìn đã được cập nhật trên receiver.

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

Được gọi khi nhận được danh sách mã mục trong hàng đợi nội dung đa phương tiện.

Parameters
clientThe client.
queueItemIDsThe list of media queue item IDs.
Năm thành lập
4,1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didInsertQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
beforeItemWithID: (GCKMediaQueueItemID beforeItemID 
optional

Được gọi khi một chuỗi mục liền kề được chèn vào hàng đợi nội dung đa phương tiện.

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.
Năm thành lập
4,1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didUpdateQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs 
optional

Được gọi khi các mục hiện có đã được cập nhật trong hàng đợi nội dung đa phương tiện.

Parameters
clientThe client.
queueItemIDsThe item IDs of the updated items.
Năm thành lập
4,1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didRemoveQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs 
optional

Được gọi khi một chuỗi mục liền kề đã bị xoá khỏi hàng đợi nội dung đa phương tiện.

Parameters
clientThe client.
queueItemIDsThe item IDs of the removed items.
Năm thành lập
4,1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didReceiveQueueItems: (NSArray< GCKMediaQueueItem * > *)  queueItems 
optional

Được gọi khi nhận được thông tin chi tiết về một hoặc nhiều mục trong hàng đợi.

Parameters
clientThe client.
queueItemsThe queue items.
Năm thành lập
4,1