GCKDynamicDevice-Klasse
Ein Geräteobjekt, das Teil einer Mehrzonengruppe sein kann.
- Seit
- 4.3.5
Übernimmt NSObject, <NSKopieren> und <NSSecureCoding>.
Übernommen von GCKMultizoneDevice.
|
(instancetype) | - init |
|
(BOOL) | - hasCapabilities: |
| Gibt YES zurück, wenn das Gerät die angegebenen Funktionen unterstützt. Mehr...
|
|
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
Gibt YES
zurück, wenn das Gerät die angegebenen Funktionen unterstützt.
- Parameters
-
Die eindeutige Geräte-ID.
- (NSString*) friendlyName |
|
readnonatomiccopy |
Der Anzeigename des Geräts.
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassign |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2023-12-02 (UTC).
[null,null,["Zuletzt aktualisiert: 2023-12-02 (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"]]