<GCKMediaControlChannelDelegate> 프로토콜
<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 . |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2022-12-05(UTC)
[null,null,["최종 업데이트: 2022-12-05(UTC)"],[[["The `GCKMediaControlChannelDelegate` protocol defines methods that inform your application about the status of media playback and control requests."],["It provides callbacks for successful media loading, playback status updates, queue updates, metadata changes, and request completions."],["It also handles errors during media loading and request failures, providing details about the errors."],["Delegate methods are optional, allowing you to implement only the functionalities your application requires."]]],[]]