<GCKUIMediaControllerDelegate> Protocol

<GCKUIMediaControllerDelegate> Protocol Reference

Overview

The GCKUIMediaController delegate protocol.

Since
3.0

Inherits <NSObjectNSObject>.

Instance Method Summary

(void) - mediaController:didUpdatePlayerState:lastStreamPosition:
 Called when the remote media player state has changed. More...
 
(void) - mediaController:didBeginPreloadForItemID:
 Called when preloading has started for an upcoming media queue item. More...
 
(void) - mediaController:didUpdateMediaStatus:
 Called when new media status has been received from the receiver, and after the GCKUIMediaController has finished processing the updated status. More...
 

Method Detail

- (void) mediaController: (GCKUIMediaController *)  mediaController
didUpdatePlayerState: (GCKMediaPlayerState)  playerState
lastStreamPosition: (NSTimeInterval)  streamPosition 
optional

Called when the remote media player state has changed.

Parameters
mediaControllerThe GCKUIMediaController instance.
playerStateThe new player state.
streamPositionThe last known stream position at the time of the player state change.
- (void) mediaController: (GCKUIMediaController *)  mediaController
didBeginPreloadForItemID: (NSUInteger)  itemID 
optional

Called when preloading has started for an upcoming media queue item.

Parameters
mediaControllerThe GCKUIMediaController instance.
itemIDThe ID of the item that is being preloaded, or kGCKMediaQueueInvalidItemID if none.
- (void) mediaController: (GCKUIMediaController *)  mediaController
didUpdateMediaStatus: (GCKMediaStatus *)  mediaStatus 
optional

Called when new media status has been received from the receiver, and after the GCKUIMediaController has finished processing the updated status.

Parameters
mediaControllerThe GCKUIMediaController instance.
mediaStatusThe new media status.