GCKMultizoneDevice Class

GCKMultizoneDevice Class Reference

Overview

A member device of a multizone group.

Since
3.1

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(instancetype) 
Initializes the object with the given JSON data. More...
Designated initializer. More...

Property Summary

NSString * 
The unique device ID. More...
NSString * 
The device's friendly name. More...
NSInteger 
The device capabilities. More...
float 
The device volume level. More...
BOOL 
Whether the device is muted. More...

Method Detail

- (instancetype) initWithJSONObject: (id)  JSONObject

Initializes the object with the given JSON data.

- (instancetype) initWithDeviceID: (NSString *)  deviceID
friendlyName: (NSString *)  friendlyName
capabilities: (NSInteger)  capabilities
volumeLevel: (float)  volume
muted: (BOOL)  muted

Designated initializer.

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.

Property Detail

- (NSString*) deviceID
read nonatomic copy

The unique device ID.

- (NSString*) friendlyName
read nonatomic copy

The device's friendly name.

- (NSInteger) capabilities
read write nonatomic assign

The device capabilities.

- (float) volumeLevel
read write nonatomic assign

The device volume level.

- (BOOL) muted
read write nonatomic assign

Whether the device is muted.

Create a Mobile Website
View Site in Mobile | Classic
Share by: