<GCKRemoteMediaClientListener> Protocol

<GCKRemoteMediaClientListener> Protocol Reference

Overview

The GCKRemoteMediaClient listener protocol.

Since
3.0

Inherits <NSObjectNSObject>.

Instance Method Summary

(void) - remoteMediaClient:didStartMediaSessionWithID:
 Called when a new media session has started on the receiver. More...
 
(void) - remoteMediaClient:didUpdateMediaStatus:
 Called when updated media status has been received from the receiver. More...
 
(void) - remoteMediaClient:didUpdateMediaMetadata:
 Called when updated media metadata has been received from the receiver. More...
 
(void) - remoteMediaClientDidUpdateQueue:
 Called when the media playback queue has been updated on the receiver. More...
 
(void) - remoteMediaClientDidUpdatePreloadStatus:
 Called when the media preload status has been updated on the receiver. More...
 

Method Detail

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

Called when a new media session has started on the receiver.

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

Called when updated media status has been received from the receiver.

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

Called when updated media metadata has been received from the receiver.

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

Called when the media playback queue has been updated on the receiver.

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

Called when the media preload status has been updated on the receiver.

Parameters
clientThe client.