GCKDynamicDevice क्लास
ऐसा डिवाइस ऑब्जेक्ट जो किसी मल्टीज़ोन ग्रुप का हिस्सा हो सकता है.
- से
- 4.3.5
NSObject, <NSकॉपी>, और <NSSecureCoding> को इनहेरिट करता है.
GCKMultizoneDevice ने इनहेरिट की है.
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
अगर डिवाइस दी गई क्षमताओं के साथ काम करता है, तो YES
दिखाता है.
- Parameters
-
- (NSString*) friendlyName |
|
readnonatomiccopy |
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassign |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]