فئة GCK MultizoneStatus
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
حالة مجموعة متعددة المناطق.
- منذ
- 3.1
تكتسب NSObject و<NSCopying> و <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
تعمل هذه السياسة على إعداد الكائن ببيانات JSON المحدّدة.
يقوم بإعداد الكائن باستخدام قائمة الأجهزة الفرعية المحددة.
الأجهزة الأعضاء في المجموعة المتعدّدة المناطق
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eGCKMultizoneStatus\u003c/code\u003e encapsulates the current status of a multizone group, including information about its member devices.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods for initialization using JSON data or a list of \u003ccode\u003eGCKMultizoneDevice\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edevices\u003c/code\u003e property offers access to an array of \u003ccode\u003eGCKMultizoneDevice\u003c/code\u003e instances, representing the members of the multizone group.\u003c/p\u003e\n"],["\u003cp\u003eThis class has been available since version 3.1 of the framework and inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `GCKMultizoneStatus` class represents the status of a multizone group and inherits from `NSObject`, `NSCopying`, and `NSSecureCoding`. It can be initialized with JSON data or a list of member devices via `initWithJSONObject:` and `initWithDevices:`. The class also contains a read-only property, `devices`, which is an array of `GCKMultizoneDevice` objects representing the members of the multizone group.\n"],null,["# GCKMultizoneStatus Class\n\n[Instance Methods](#pub-methods) \\| [Properties](#properties) \nGCKMultizoneStatus Class Reference \n\nOverview\n--------\n\nThe status of a multizone group.\n\nSince\n: 3.1\n\nInherits NSObject, \\\u003cNSCopying\\\u003e, and \\\u003cNSSecureCoding\\\u003e.\n\n|----------------|----------------------------------------------------------------------------------------------------------------------|\n| Instance Method Summary ----------------------- ||\n| (instancetype) | - [initWithJSONObject:](/cast/docs/reference/ios/interface_g_c_k_multizone_status#a2e040726bf8cf82c05026046d8055a29) |\n| | Initializes the object with the given JSON data. [More...](#a2e040726bf8cf82c05026046d8055a29) |\n| ||\n| (instancetype) | - [initWithDevices:](/cast/docs/reference/ios/interface_g_c_k_multizone_status#a3b92366635c2f430106b6b1c9afc6c01) |\n| | Initializes the object with the given list of member devices. [More...](#a3b92366635c2f430106b6b1c9afc6c01) |\n| ||\n| (instancetype) | - **init** |\n| ||\n\n|----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSArray\\\u003c [GCKMultizoneDevice](/cast/docs/reference/ios/interface_g_c_k_multizone_device) \\* \\\u003e \\* | [devices](/cast/docs/reference/ios/interface_g_c_k_multizone_status#ab90cd1f1d2349fab48fd92d2a2857e70) |\n| | The member devices of the multizone group. [More...](#ab90cd1f1d2349fab48fd92d2a2857e70) |\n| ||\n\nMethod Detail\n-------------\n\n|--------------------------------------|---|------|--------------|---|\n| - (instancetype) initWithJSONObject: | | (id) | *JSONObject* | |\n\nInitializes the object with the given JSON data. \n\n|-----------------------------------|---|------------------------------------------------------------------------------------------------------|-----------|---|\n| - (instancetype) initWithDevices: | | (NSArray\\\u003c [GCKMultizoneDevice](/cast/docs/reference/ios/interface_g_c_k_multizone_device) \\* \\\u003e \\*) | *devices* | |\n\nInitializes the object with the given list of member devices.\n\nProperty Detail\n---------------\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|\n| |-------------------------------------------------------------------------------------------------------------| | - (NSArray\\\u003c[GCKMultizoneDevice](/cast/docs/reference/ios/interface_g_c_k_multizone_device) \\*\\\u003e\\*) devices | | readnonatomiccopy |\n\nThe member devices of the multizone group."]]