بروتوكول المستمع 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