Google utiliza tecnología de IA para traducir contenido a tu idioma preferido. Las traducciones realizadas con IA pueden contener errores.
Clase GCKMultizoneDevice
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Es un dispositivo miembro de un grupo multizona.
- Desde
- 3.1
Hereda de NSObject, <NSCopying> y <NSSecureCoding>.
| - (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Inicializa el objeto con los datos JSON proporcionados.
| - (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
| friendlyName: |
|
(NSString *) |
friendlyName |
| capabilities: |
|
(NSInteger) |
capabilities |
| volumeLevel: |
|
(float) |
volume |
| muted: |
|
(BOOL) |
muted |
|
|
| |
Es el inicializador designado.
- 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. |
Es el ID único del dispositivo.
| - (NSString*) friendlyName |
|
readnonatomiccopy |
Es el nombre descriptivo del dispositivo.
| - (NSInteger) capabilities |
|
readwritenonatomicassign |
Son las capacidades del dispositivo.
Es el nivel de volumen del dispositivo.
Indica si el dispositivo está silenciado.
[null,null,["Última actualización: 2025-07-26 (UTC)"],[],["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"]]