GCKDynamicDevice 类
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
由 GCKMultizoneDevice 继承。
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
如果设备支持指定功能,则返回 YES
。
- Parameters
-
- (NSString*) friendlyName |
|
readnonatomiccopy |
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassign |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["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."]]],[]]