GCKMultizoneStatus Class
Stay organized with collections
Save and categorize content based on your preferences.
The status of a multizone group.
- Since
- 3.1
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Initializes the object with the given JSON data.
Initializes the object with the given list of member devices.
The member devices of the multizone group.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 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."]]