โปรโตคอล 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