Lớp GCKMultizoneStatus
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trạng thái của nhóm nhiều vùng.
- Năm thành lập
- 3,1
Kế thừa NSObject, <NSCopying> và <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Khởi động đối tượng bằng dữ liệu JSON đã cho.
Khởi động đối tượng bằng danh sách các thiết bị thành viên đã cho.
Các thiết bị của thành viên của nhóm nhiều vùng.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 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."]]