继承 NSObject、<NSDuplicate> 和 <NSSecureCoding>。
- (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
- (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 |