AI-generated Key Takeaways
-
The
GCKDynamicDevice
class represents a device that can be part of a multizone group and inherits fromNSObject
,NSCopying
, andNSSecureCoding
. -
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.
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
-
deviceCapabilities A bitwise-OR of one or more of the GCKDeviceCapability constants.
Property Detail
|
readnonatomiccopy |
The unique device ID.
|
readnonatomiccopy |
The friendly name of the device.
|
readnonatomicassign |
The device capabilities.