GCKMultizoneDevice クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
マルチゾーン グループのメンバー デバイス。
- 発足
- 3.1
NSObject、<NSCopying>、<NSSecureCoding> を継承します。
| - (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
指定された JSON データでオブジェクトを初期化します。
| - (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
| friendlyName: |
|
(NSString *) |
friendlyName |
| capabilities: |
|
(NSInteger) |
capabilities |
| volumeLevel: |
|
(float) |
volume |
| muted: |
|
(BOOL) |
muted |
|
|
| |
指定イニシャライザ。
- 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 |
| - (NSInteger) capabilities |
|
readwritenonatomicassign |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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"]]