The GCKMediaControlChannel delegate protocol.
Inherits <GCKCastChannelNSObject>.
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCompleteLoadWithSessionID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
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. |
Called when a request to load media has failed.
- Parameters
-
mediaControlChannel | The channel. |
error | The load error. |
Called when updated player status information is received.
- Parameters
-
mediaControlChannel | The channel. |
Called when updated queue status information is received.
- Parameters
-
mediaControlChannel | The channel. |
Called when updated preload status is received.
- Parameters
-
mediaControlChannel | The channel. |
Called when updated media metadata is received.
- Parameters
-
mediaControlChannel | The channel. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
requestDidCompleteWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
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 |
|
|
| |
|
optional |
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 |
|
|
| |
|
optional |
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. |
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 . |