GCKDynamicDevice Class
A device object that can be part of a multizone group.
- Since
- 4.3.5
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
Inherited by GCKMultizoneDevice.
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
Returns YES
if the device supports the given capabilities.
- Parameters
-
- (NSString*) friendlyName |
|
readnonatomiccopy |
The friendly name of the device.
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassign |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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."]]],["The `GCKDynamicDevice` class represents a device in a multizone group. It can be initialized via `-init`. Key actions include checking device capabilities using `hasCapabilities:`, which verifies if the device supports specific capabilities using a bitwise-OR of `GCKDeviceCapability` constants. Core information includes the device's `deviceID`, a unique identifier; `friendlyName`, the user-friendly device name; and `capabilities`, which are the device's operational abilities, all accessible as read-only properties.\n"]]