بروتوكول <GCKMediaControlChannelDelegate>
يكتسب <GCKCastChannelNSObject>.
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCompleteLoadWithSessionID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
يتم الاتصال عند اكتمال طلب تحميل الوسائط.
- Parameters
-
mediaControlChannel | The channel. |
sessionID | The unique media session ID that has been assigned to this media item. |
يتم الاتصال عند إخفاق طلب تحميل الوسائط.
- Parameters
-
mediaControlChannel | The channel. |
error | The load error. |
يتم الاتصال عند تلقي معلومات حالة المشغل المحدثة.
- Parameters
-
mediaControlChannel | The channel. |
يتم الاتصال عند تلقي معلومات حالة قائمة الانتظار المحدّثة.
- Parameters
-
mediaControlChannel | The channel. |
يتم الاتصال عند تلقي حالة التحميل المسبق المحدثة.
- Parameters
-
mediaControlChannel | The channel. |
يتم الاتصال عند تلقي البيانات الوصفية للوسائط المحدّثة.
- Parameters
-
mediaControlChannel | The channel. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
requestDidCompleteWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
يتم الاتصال عند نجاح الطلب.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didReplaceRequestWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
يتم الاتصال عندما لا يتم تتبع الطلب بعد الآن لأن التطبيق أصدر طلبًا آخر من النوع نفسه.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that has been replaced. This is the ID returned when the request was made. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCancelRequestWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
يتم الاتصال عندما لا يتم تتبع الطلب بعد الآن لأنه تم إلغاؤه بشكل صريح.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that has been cancelled. This is the ID returned when the request was made. |
يتم الاتصال عند إخفاق أحد الطلبات.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
error | The error. If any custom data was associated with the error, it will be in the error's userInfo dictionary with the key . |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-12-05 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2022-12-05 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `GCKMediaControlChannelDelegate` protocol defines methods that inform your application about the status of media playback and control requests."],["It provides callbacks for successful media loading, playback status updates, queue updates, metadata changes, and request completions."],["It also handles errors during media loading and request failures, providing details about the errors."],["Delegate methods are optional, allowing you to implement only the functionalities your application requires."]]],[]]