بروتوكول <GCKCastDeviceStatusListener>
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
بروتوكول المستمعين لتلقي إشعارات تغيير حالة جهاز البث.
- منذ
- 3.0
تكتسب <GCKSessionNSObject>.
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveActiveInputStatus: |
|
(GCKActiveInputStatus) |
activeInputStatus |
|
|
| |
|
optional |
يتم استدعاء هذا الحدث عند تغيير حالة الإدخال النشط لجهاز البث.
- Parameters
-
castSession | The Cast session. |
activeInputStatus | The new active input status. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didReceiveStandbyStatus: |
|
(GCKStandbyStatus) |
standbyStatus |
|
|
| |
|
optional |
يتم استدعاء هذا الحدث عند تغيير حالة وضع الاستعداد لجهاز البث.
- Parameters
-
castSession | The Cast session. |
standbyStatus | The new standby status. |
يتم استدعاء هذا الحدث عند تغيير حالة المناطق المتعددة لجهاز البث.
- Parameters
-
castSession | The Cast session. |
multizoneStatus | The new multizone status. |
يتم الاتصال به عند إضافة جهاز متعدد المناطق.
- Parameters
-
castSession | The Cast session. |
device | The newly-added multizone device. |
يتم الاتصال به عند تحديث جهاز متعدد المناطق.
- Parameters
-
castSession | The Cast session. |
device | The updated multizone device. |
- (void) castSession: |
|
(GCKCastSession *) |
castSession |
didRemoveMultizoneDeviceWithID: |
|
(NSString *) |
deviceID |
|
|
| |
|
optional |
يتم الاتصال به عند إزالة جهاز متعدد المناطق.
- Parameters
-
castSession | The Cast session. |
deviceID | The deviceID of the removed multizone device. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-12-01 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2023-12-01 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `GCKCastDeviceStatusListener` protocol allows you to receive notifications about changes in a Cast device's status, such as active input, standby, and multizone status."],["This protocol provides methods to monitor changes to the Cast device's active input, standby status, and multizone status, including the addition, update, and removal of multizone devices."],["Implement this protocol in your application to receive notifications about changes to a Cast device's status, which can be used to update the user interface or trigger other actions in response to device events."],["The methods in this protocol are optional and are called on the main thread."]]],[]]