רמת GCKDynamicDevice
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אובייקט מכשיר שיכול להשתייך לקבוצה מרובת אזורים.
- מאז
- 4.3.5
ירש את NSObject, <NS Copy> ו-<NSSecureCoding>.
הועברה בירושה על ידי GCKMultizoneDevice.
|
(instancetype) | - init |
|
(BOOL) | - hasCapabilities: |
| הפונקציה מחזירה את הערך YES אם המכשיר תומך ביכולות הנתונות. עוד...
|
|
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
הפונקציה מחזירה את הערך YES
אם המכשיר תומך ביכולות הנתונות.
- Parameters
-
- (NSString*) friendlyName |
|
readnonatomiccopy |
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassign |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["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"],null,[]]