Google משתמשת בטכנולוגיית AI כדי לתרגם תוכן לשפה המועדפת עליך. בתרגומים כאלו עשויות להיות שגיאות.
פרוטוקול <GCKגנריChannelChannel>
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
פרוטוקול ההאצלה של GCKGenericChannel.
יורש את <GCKCastChannelNSObject>.
| - (void) castChannel: |
|
(GCKGenericChannel *) |
channel |
| didReceiveTextMessage: |
|
(NSString *) |
message |
| withNamespace: |
|
(NSString *) |
protocolNamespace |
|
|
| |
שיחה שהתקבלה כאשר התקבלה הודעת טקסט בערוץ.
שיחה מזוהה כשהערוץ חובר, כדי לציין שעכשיו ניתן להעביר הודעות עם מכשיר ה-CAST בערוץ.
- Parameters
-
שיחה שהתקבלה לאחר ניתוק הערוץ, כדי לציין שלא ניתן יותר להעביר הודעות עם מכשיר ה-CAST בערוץ.
- 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 (שעון UTC)."],[],["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"]]