GCKMultizoneDevice Class
Stay organized with collections
Save and categorize content based on your preferences.
A member device of a multizone group.
- Since
- 3.1
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Initializes the object with the given JSON data.
- (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
friendlyName: |
|
(NSString *) |
friendlyName |
capabilities: |
|
(NSInteger) |
capabilities |
volumeLevel: |
|
(float) |
volume |
muted: |
|
(BOOL) |
muted |
|
|
| |
Designated initializer.
- Parameters
-
deviceID | The unique device ID. |
friendlyName | The device's friendly name. |
capabilities | The device capabilities. |
volume | The device volume level. |
muted | Whether the device is muted. |
- (NSString*) friendlyName |
|
readnonatomiccopy |
The device's friendly name.
- (NSInteger) capabilities |
|
readwritenonatomicassign |
Whether the device is muted.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKMultizoneDevice` represents a device within a multizone group, providing information about its status and capabilities."],["It includes properties like `deviceID`, `friendlyName`, `capabilities`, `volumeLevel`, and `muted` to describe the device."],["This class offers methods for initialization using JSON data or specific device attributes."],["Developers can use this class to manage and control individual devices within a multizone setup."],["It inherits from `NSObject`, `NSCopying`, and `NSSecureCoding` for object management and data persistence."]]],[]]