Classe GCKMultizoneDevice
Un dispositivo membro di un gruppo multizona.
- Since
- 3,1
Eredita NSObject, <NSCopy> e <NSSecureCoding>.
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Inizializza l'oggetto con i dati JSON specificati.
- (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
friendlyName: |
|
(NSString *) |
friendlyName |
capabilities: |
|
(NSInteger) |
capabilities |
volumeLevel: |
|
(float) |
volume |
muted: |
|
(BOOL) |
muted |
|
|
| |
Inizializzatore designato.
- 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. |
L'ID dispositivo univoco.
- (NSString*) friendlyName |
|
readnonatomiccopy |
Il nome intuitivo del dispositivo.
- (NSInteger) capabilities |
|
readwritenonatomicassign |
Le funzionalità del dispositivo.
Il livello del volume del dispositivo.
Indica se l'audio del dispositivo è disattivato.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2022-12-05 UTC.
[null,null,["Ultimo aggiornamento 2022-12-05 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."]]],["The GCKMultizoneDevice class represents a device in a multizone group. It can be initialized with JSON data or specific parameters: `deviceID`, `friendlyName`, `capabilities`, `volumeLevel`, and `muted`. The class stores the device's unique ID, its user-friendly name, its capabilities, the current volume level, and whether it's muted. It also inherits `NSObject`, `NSCopying`, and `NSSecureCoding` and is a member of a multizone group.\n"]]