Klasa GCKMultizoneDevice
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Urządzenie należące do grupy wielostrefowej.
- Od
- 3.1
Dziedziczy po klasach NSObject, <NSCopying> i <NSSecureCoding>.
| - (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
Inicjuje obiekt za pomocą podanych danych JSON.
| - (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
| friendlyName: |
|
(NSString *) |
friendlyName |
| capabilities: |
|
(NSInteger) |
capabilities |
| volumeLevel: |
|
(float) |
volume |
| muted: |
|
(BOOL) |
muted |
|
|
| |
Wyznaczony inicjator.
- 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. |
Unikalny identyfikator urządzenia.
| - (NSString*) friendlyName |
|
readnonatomiccopy |
| - (NSInteger) capabilities |
|
readwritenonatomicassign |
Poziom głośności urządzenia.
Czy urządzenie jest wyciszone.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]