继承 <GCKCastChannelNSObject>。
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCompleteLoadWithSessionID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
在加载媒体请求完成时调用。
- Parameters
-
mediaControlChannel | The channel. |
sessionID | The unique media session ID that has been assigned to this media item. |
在加载媒体请求失败时调用。
- Parameters
-
mediaControlChannel | The channel. |
error | The load error. |
在收到更新后的玩家状态信息时调用。
- Parameters
-
mediaControlChannel | The channel. |
在收到更新后的队列状态信息时调用。
- Parameters
-
mediaControlChannel | The channel. |
收到更新后的预加载状态时调用。
- Parameters
-
mediaControlChannel | The channel. |
在收到更新的媒体元数据时调用。
- Parameters
-
mediaControlChannel | The channel. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
requestDidCompleteWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
在请求成功时调用。
- 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 |
在由于应用已发出同一类型的另一个请求而不再跟踪请求时调用。
- 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 |
在由于明确取消请求而不再跟踪请求时调用。
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that has been cancelled. This is the ID returned when the request was made. |
在请求失败时调用。
- 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 . |