تستخدم Google تكنولوجيا الذكاء الاصطناعي لترجمة المحتوى إلى لغتك المفضّلة، وقد تتضمّن بعض الأخطاء.
بروتوكول <GCKPersonalChannel متصفّح>
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
بروتوكول التفويض في "GCKGenericChannel"
يكتسب <GCKCastChannelNSObject>.
| - (void) castChannel: |
|
(GCKGenericChannel *) |
channel |
| didReceiveTextMessage: |
|
(NSString *) |
message |
| withNamespace: |
|
(NSString *) |
protocolNamespace |
|
|
| |
يتم استدعاؤه عند تلقّي رسالة نصية على القناة.
يتم استدعاء هذا الإجراء عند ربط القناة بالقناة، للإشارة إلى أنّه يمكن الآن تبادل الرسائل مع جهاز البث من خلال القناة.
- Parameters
-
يتم استدعاء هذا الإجراء عند إلغاء ربط القناة، للإشارة إلى أنّه لم يعُد من الممكن تبادل الرسائل مع جهاز البث من خلال القناة.
- Parameters
-
| - (void) castChannel: |
|
(GCKCastChannel *) |
channel |
| didChangeWritableState: |
|
(BOOL) |
writable |
|
|
| |
|
optional |
يتم استدعاء هذا الحدث عند تغيّر حالة إمكانية الكتابة في القناة.
- Parameters
-
| channel | The channel. |
| writable | Whether the channel is now writable. |
- منذ
- 4.0
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],["The `GCKGenericChannelDelegate` protocol defines methods for handling channel events. It notifies when a text message is received via `castChannel:didReceiveTextMessage:withNamespace:`. It also reports connection and disconnection events via `castChannelDidConnect:` and `castChannelDidDisconnect:`, enabling message exchange or indicating its termination. The protocol informs of changes in the channel's writable state through `castChannel:didChangeWritableState:`, specifying whether messages can be sent.\n"]]