ข้อมูลอ้างอิงคลาส GCKMultizoneDevice
ภาพรวม
อุปกรณ์สมาชิกของกลุ่มมัลติโซน
- Since
- 3.1
รับค่า NSObject, <NSCopying> และ <NSSecureCoding>
สรุปเมธอดของอินสแตนซ์ | |
(instancetype) | - initWithJSONObject: |
เริ่มต้นออบเจ็กต์ด้วยข้อมูล JSON ที่ระบุ เพิ่มเติม... | |
(instancetype) | - initWithDeviceID:friendlyName:capabilities:volumeLevel:muted: |
ตัวเริ่มต้นที่กําหนด เพิ่มเติม... | |
สรุปพร็อพเพอร์ตี้ | |
NSString * | deviceID |
รหัสอุปกรณ์ที่ไม่ซ้ํากัน เพิ่มเติม... | |
NSString * | friendlyName |
ชื่อที่เหมาะกับอุปกรณ์ เพิ่มเติม... | |
NSInteger | capabilities |
ความสามารถของอุปกรณ์ เพิ่มเติม... | |
float | volumeLevel |
ระดับเสียงของอุปกรณ์ เพิ่มเติม... | |
BOOL | muted |
ปิดเสียงอุปกรณ์หรือไม่ เพิ่มเติม... | |
รายละเอียดเมธอด
- (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.
รายละเอียดพร็อพเพอร์ตี้
|
readnonatomiccopy |
รหัสอุปกรณ์ที่ไม่ซ้ํากัน
|
readnonatomiccopy |
ชื่อที่เหมาะกับอุปกรณ์
|
readwritenonatomicassign |
ความสามารถของอุปกรณ์
|
readwritenonatomicassign |
ระดับเสียงของอุปกรณ์
|
readwritenonatomicassign |
ปิดเสียงอุปกรณ์หรือไม่