פרוטוקול ההאזנה של 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 |
מתבצעת קריאה כאשר התקבלה רשימת מזהי הפריטים של תור המדיה.
- 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