GCKDynamicDevice Class

  • The GCKDynamicDevice class represents a device that can be part of a multizone group and inherits from NSObject, NSCopying, and NSSecureCoding.

  • It provides properties to access the device's unique ID (deviceID), friendly name (friendlyName), and capabilities (capabilities).

  • You can check if a device supports specific capabilities using the hasCapabilities: instance method.

  • This class is the base class for GCKMultizoneDevice, which handles multizone functionalities.

GCKDynamicDevice Class Reference

Overview

A device object that can be part of a multizone group.

Since
4.3.5

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

Inherited by GCKMultizoneDevice.

Instance Method Summary

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

Property Summary

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

- (NSString*) deviceID
readnonatomiccopy

The unique device ID.

- (NSString*) friendlyName
readnonatomiccopy

The friendly name of the device.

- (GCKDeviceCapabilities) capabilities
readnonatomicassign

The device capabilities.