คลาส GCKMultizoneDevice
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อุปกรณ์ที่เป็นสมาชิกของกลุ่มแบบหลายโซน
- Since
- 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"]]