คลาส GCKMultizoneDevice

การอ้างอิงคลาส 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
deviceIDThe unique device ID.
friendlyNameThe device's friendly name.
capabilitiesThe device capabilities.
volumeThe device volume level.
mutedWhether the device is muted.

รายละเอียดพร็อพเพอร์ตี้

- (NSString*) deviceID
readnonatomiccopy

รหัสอุปกรณ์ที่ไม่ซ้ำกัน

- (NSString*) friendlyName
readnonatomiccopy

ชื่อที่จำง่ายของอุปกรณ์

- (NSInteger) capabilities
readwritenonatomicassign

ความสามารถของอุปกรณ์

- (float) volumeLevel
readwritenonatomicassign

ระดับเสียงของอุปกรณ์

- (BOOL) muted
readwritenonatomicassign

อุปกรณ์ปิดเสียงอยู่หรือไม่