Overview
The GCKMediaControlChannel delegate protocol.
Inherits <GCKCastChannelNSObject>.
Method Detail
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
didCompleteLoadWithSessionID: | (NSInteger) | sessionID | |
Called when a request to load media has completed.
- Parameters
-
mediaControlChannel The channel. sessionID The unique media session ID that has been assigned to this media item.
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
didFailToLoadMediaWithError: | ( GCKError *) | error | |
Called when a request to load media has failed.
- Parameters
-
mediaControlChannel The channel. error The load error.
- (void) mediaControlChannelDidUpdateStatus: | ( GCKMediaControlChannel *) | mediaControlChannel |
Called when updated player status information is received.
- Parameters
- mediaControlChannelThe channel.
- (void) mediaControlChannelDidUpdateQueue: | ( GCKMediaControlChannel *) | mediaControlChannel |
Called when updated queue status information is received.
- Parameters
- mediaControlChannelThe channel.
- (void) mediaControlChannelDidUpdatePreloadStatus: | ( GCKMediaControlChannel *) | mediaControlChannel |
Called when updated preload status is received.
- Parameters
- mediaControlChannelThe channel.
- (void) mediaControlChannelDidUpdateMetadata: | ( GCKMediaControlChannel *) | mediaControlChannel |
Called when updated media metadata is received.
- Parameters
- mediaControlChannelThe channel.
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
requestDidCompleteWithID: | (NSInteger) | requestID | |
Called when a request succeeds.
- Parameters
-
mediaControlChannel The channel. requestID The request ID that failed. This is the ID returned when the request was made.
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
didReplaceRequestWithID: | (NSInteger) | requestID | |
Called when a request is no longer being tracked because another request of the same type has been issued by the application.
- Parameters
-
mediaControlChannel The channel. requestID The request ID that has been replaced. This is the ID returned when the request was made.
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
didCancelRequestWithID: | (NSInteger) | requestID | |
Called when a request is no longer being tracked because it has been explicitly cancelled.
- Parameters
-
mediaControlChannel The channel. requestID The request ID that has been cancelled. This is the ID returned when the request was made.
- (void) mediaControlChannel: | ( GCKMediaControlChannel *) | mediaControlChannel | |
requestDidFailWithID: | (NSInteger) | requestID | |
error: | ( GCKError *) | error | |
Called when a request fails.
- Parameters
-
mediaControlChannel The channel. requestID The request ID that failed. This is the ID returned when the request was made. error The error. If any custom data was associated with the error, it will be in the error's userInfo dictionary with the key .