โปรโตคอล Listener ของ GCKRemoteMediaClient
- Since
- 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 |
เรียกเมื่อรายการรหัสรายการคิวสื่อได้รับแล้ว
- Parameters
-
client | The client. |
queueItemIDs | The list of media queue item IDs. |
- Since
- 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. |
- Since
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
เรียกเมื่ออัปเดตรายการที่มีอยู่ในคิวสื่อ
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the updated items. |
- Since
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
การเรียกใช้เมื่อมีการนําลําดับที่ต่อเนื่องกันออกจากคิวสื่อ
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the removed items. |
- Since
- 4.1
โทรเมื่อได้รับข้อมูลโดยละเอียดในคิวอย่างน้อย 1 รายการ
- Parameters
-
client | The client. |
queueItems | The queue items. |
- Since
- 4.1