Класс GCKMultizoneStatus
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Статус мультизональной группы.
- С
- 3.1
Наследует NSObject, <NSCopying> и <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Инициализирует объект с заданными данными JSON.
Инициализирует объект с заданным списком устройств-членов.
Устройства-члены многозонной группы.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\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."]]