<GCKRemoteMediaClientListener> 프로토콜
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
GCKRemoteMediaClient 리스너 프로토콜입니다.
- 다음 이후:
- 3.0
<NSObjectNSObject>를 상속합니다.
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didStartMediaSessionWithID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
수신기에서 새 미디어 세션이 시작되었을 때 호출됩니다.
- Parameters
-
client | The client. |
sessionID | The ID of the new session. |
업데이트된 미디어 상태가 수신기에서 수신되었을 때 호출됩니다.
- Parameters
-
client | The client. |
mediaStatus | The updated media status. The status can also be accessed as a property of the player. |
업데이트된 미디어 메타데이터가 수신기에서 수신되었을 때 호출됩니다.
- Parameters
-
수신기에서 미디어 재생 대기열이 업데이트되면 호출됩니다.
- Parameters
-
수신기에서 미디어 미리 로드 상태가 업데이트되면 호출됩니다.
- Parameters
-
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didReceiveQueueItemIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
미디어 대기열 항목 ID 목록을 수신하면 호출됩니다.
- Parameters
-
client | The client. |
queueItemIDs | The list of media queue item IDs. |
- 다음 이후:
- 4.1
연속된 항목 시퀀스가 미디어 대기열에 삽입되었을 때 호출됩니다.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the inserted items. |
beforeItemID | The item ID of the item in front of which the new items have been inserted. If the value is kGCKMediaQueueInvalidItemID, it indicates that the items were appended at the end of the queue. |
- 다음 이후:
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
기존 항목이 미디어 대기열에서 업데이트되면 호출됩니다.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the updated items. |
- 다음 이후:
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
연속된 항목 시퀀스가 미디어 대기열에서 삭제되면 호출됩니다.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the removed items. |
- 다음 이후:
- 4.1
대기열에서 하나 이상의 항목에 대한 자세한 정보를 수신했을 때 호출됩니다.
- Parameters
-
client | The client. |
queueItems | The queue items. |
- 다음 이후:
- 4.1
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-12-01(UTC)"],[[["The `GCKRemoteMediaClientListener` protocol defines methods to receive updates on media playback and queue status from a Cast receiver."],["It provides notifications for media session start, status changes, metadata updates, and queue modifications."],["Developers can implement this protocol to build Cast-enabled applications that respond to playback events on the receiver."],["This protocol includes methods for handling queue item insertion, update, removal, and retrieval of detailed information."],["Introduced in version 3.0 and continually enhanced with features like queue management in later versions."]]],[]]