GCKMultizoneDevice Class

  • The GCKMultizoneDevice class represents a member device within a multizone group, inheriting from GCKDynamicDevice.

  • It provides properties to access device information like volume level, mute status, unique ID, friendly name, and capabilities.

  • The hasCapabilities: method allows checking if the device supports specific features.

  • You can access detailed information about the volume level, mute status, device ID, friendly name, and device capabilities through its properties.

GCKMultizoneDevice Class Reference

Overview

A member device of a multizone group.

Since
3.1

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

Instance Method Summary

(instancetype) - init
 
(BOOL) - hasCapabilities:
 Returns YES if the device supports the given capabilities. More...
 

Property Summary

float volumeLevel
 The device volume level. More...
 
BOOL muted
 Whether the device is muted. More...
 
NSString * deviceID
 The unique device ID. More...
 
NSString * friendlyName
 The friendly name of the device. More...
 
GCKDeviceCapabilities capabilities
 The device capabilities. More...
 

Method Detail

- (BOOL) hasCapabilities: (GCKDeviceCapabilities)  deviceCapabilities

Returns YES if the device supports the given capabilities.

Parameters
deviceCapabilitiesA bitwise-OR of one or more of the GCKDeviceCapability constants.

Property Detail

- (float) volumeLevel
readnonatomicassign

The device volume level.

- (BOOL) muted
readnonatomicassign

Whether the device is muted.

- (NSString*) deviceID
readnonatomiccopyinherited

The unique device ID.

- (NSString*) friendlyName
readnonatomiccopyinherited

The friendly name of the device.

- (GCKDeviceCapabilities) capabilities
readnonatomicassigninherited

The device capabilities.