<GCKRemoteMediaClientListener> פרוטוקול

אזכור הפרוטוקול <GCKRemoteMediaClientListener>

סקירה כללית

פרוטוקול ההאזנה של GCKRemoteMediaClient.

מאז
3.0

יורש את <NSObjectNSObject>.

סיכום שיטות של מכונה

(void) - remoteMediaClient:didStartMediaSessionWithID:
 היא מתקבלת כשמתחיל סשן חדש במדיה אצל המקבל. עוד...
 
(void) - remoteMediaClient:didUpdateMediaStatus:
 זו שיחה כשמתקבל סטטוס מדיה מעודכן מהמקבל. עוד...
 
(void) - remoteMediaClient:didUpdateMediaMetadata:
 היא מתקבלת כשהתקבל מטא-נתונים מעודכנים של המדיה מהמקבל. עוד...
 
(void) - remoteMediaClientDidUpdateQueue:
 התקבלה שיחה כשהתור להפעלת מדיה עודכן במכשיר המקבל. עוד...
 
(void) - remoteMediaClientDidUpdatePreloadStatus:
 ההתראה הזו מוצגת כשסטטוס הטעינה מראש של המדיה עודכן במכשיר המקבל. עוד...
 
(void) - remoteMediaClient:didReceiveQueueItemIDs:
 מתבצעת קריאה כאשר התקבלה רשימת מזהי הפריטים של תור המדיה. עוד...
 
(void) - remoteMediaClient:didInsertQueueItemsWithIDs:beforeItemWithID:
 היא מופעלת כאשר רצף פריטים רציף נוסף לתור המדיה. עוד...
 
(void) - remoteMediaClient:didUpdateQueueItemsWithIDs:
 התקבלה קריאה כשפריטים קיימים מתעדכנים בתור המדיה. עוד...
 
(void) - remoteMediaClient:didRemoveQueueItemsWithIDs:
 היא מופעלת במקרים שבהם הוסר רצף פריטים רציף מתור המדיה. עוד...
 
(void) - remoteMediaClient:didReceiveQueueItems:
 שיחה זו מופעלת כאשר מתקבל מידע מפורט לגבי פריט אחד או יותר בתור. עוד...
 

פרטי השיטה

- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didStartMediaSessionWithID: (NSInteger)  sessionID 
optional

היא מתקבלת כשמתחיל סשן חדש במדיה אצל המקבל.

Parameters
clientThe client.
sessionIDThe ID of the new session.
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didUpdateMediaStatus: (nullable GCKMediaStatus *)  mediaStatus 
optional

זו שיחה כשמתקבל סטטוס מדיה מעודכן מהמקבל.

Parameters
clientThe client.
mediaStatusThe updated media status. The status can also be accessed as a property of the player.
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didUpdateMediaMetadata: (nullable GCKMediaMetadata *)  mediaMetadata 
optional

היא מתקבלת כשהתקבל מטא-נתונים מעודכנים של המדיה מהמקבל.

Parameters
clientThe client.
mediaMetadataThe updated media metadata. The metadata can also be accessed through the GCKRemoteMediaClient::mediaStatus property.
- (void) remoteMediaClientDidUpdateQueue: (GCKRemoteMediaClient *)  client
optional

התקבלה שיחה כשהתור להפעלת מדיה עודכן במכשיר המקבל.

Parameters
clientThe client.
- (void) remoteMediaClientDidUpdatePreloadStatus: (GCKRemoteMediaClient *)  client
optional

ההתראה הזו מוצגת כשסטטוס הטעינה מראש של המדיה עודכן במכשיר המקבל.

Parameters
clientThe client.
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didReceiveQueueItemIDs: (NSArray< NSNumber * > *)  queueItemIDs 
optional

מתבצעת קריאה כאשר התקבלה רשימת מזהי הפריטים של תור המדיה.

Parameters
clientThe client.
queueItemIDsThe list of media queue item IDs.
מאז
4.1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didInsertQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
beforeItemWithID: (GCKMediaQueueItemID beforeItemID 
optional

היא מופעלת כאשר רצף פריטים רציף נוסף לתור המדיה.

Parameters
clientThe client.
queueItemIDsThe item IDs of the inserted items.
beforeItemIDThe 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
clientThe client.
queueItemIDsThe item IDs of the updated items.
מאז
4.1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didRemoveQueueItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs 
optional

היא מופעלת במקרים שבהם הוסר רצף פריטים רציף מתור המדיה.

Parameters
clientThe client.
queueItemIDsThe item IDs of the removed items.
מאז
4.1
- (void) remoteMediaClient: (GCKRemoteMediaClient *)  client
didReceiveQueueItems: (NSArray< GCKMediaQueueItem * > *)  queueItems 
optional

שיחה זו מופעלת כאשר מתקבל מידע מפורט לגבי פריט אחד או יותר בתור.

Parameters
clientThe client.
queueItemsThe queue items.
מאז
4.1