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) - initWithJSONObject:
 Initializes the object with the given JSON data. More...
 
(instancetype) - initWithDeviceID:friendlyName:capabilities:volumeLevel:muted:
 Designated initializer. More...
 

Property Summary

NSString * deviceID
 The unique device ID. More...
 
NSString * friendlyName
 The device's friendly name. More...
 
NSInteger capabilities
 The device capabilities. More...
 
float volumeLevel
 The device volume level. More...
 
BOOL muted
 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
deviceIDThe unique device ID.
friendlyNameThe device's friendly name.
capabilitiesThe device capabilities.
volumeThe device volume level.
mutedWhether the device is muted.

Property Detail

- (NSString*) deviceID
readnonatomiccopy

The unique device ID.

- (NSString*) friendlyName
readnonatomiccopy

The device's friendly name.

- (NSInteger) capabilities
readwritenonatomicassign

The device capabilities.

- (float) volumeLevel
readwritenonatomicassign

The device volume level.

- (BOOL) muted
readwritenonatomicassign

Whether the device is muted.