Giao thức <GCKRemoteMediaClientListener>

Tham chiếu giao thức <GCKRemoteMediaClientListener>

Tổng quan

Giao thức trình nghe GCKRemoteMediaClient.

Since
3.0

Kế thừa <NSObjectNSObject>.

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

(void) - remoteMediaClient:didStartMediaSessionWithID:
 Được gọi khi một phiên phát nội dung nghe nhìn mới đã bắt đầu trên bộ thu. Thêm...
 
(void) - remoteMediaClient:didUpdateMediaStatus:
 Được gọi khi người nhận đã nhận được trạng thái phương tiện đã cập nhật. Thêm...
 
(void) - remoteMediaClient:didUpdateMediaMetadata:
 Được gọi khi người nhận đã nhận được siêu dữ liệu phương tiện được cập nhật. Thêm...
 
(void) - remoteMediaClientDidUpdateQueue:
 Được gọi khi hàng đợi phát nội dung nghe nhìn được cập nhật trên bộ thu. 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 trình nhận. Thêm...
 

Chi tiết phương thức

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

Được gọi khi một phiên phát nội dung nghe nhìn mới đã bắt đầu trên bộ thu.

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

Được gọi khi người nhận đã nhận được trạng thái phương tiện đã cập nhật.

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

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

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 nghe nhìn được cập nhật trên bộ thu.

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 trình nhận.

Parameters
clientThe client.