Google משתמשת בטכנולוגיית AI כדי לתרגם תוכן לשפה המועדפת עליך. בתרגומים כאלו עשויות להיות שגיאות.
GCKMultizoneDevice Class
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מכשיר שמשתייך לקבוצה מרובת אזורים.
- מאז
- 3.1
המחלקות שיורשות ממנה הן NSObject, <NSCopying> ו-<NSSecureCoding>.
| - (instancetype) initWithJSONObject: |
|
(id) |
JSONObject |
|
מאחלים את האובייקט עם נתוני ה-JSON שצוינו.
| - (instancetype) initWithDeviceID: |
|
(NSString *) |
deviceID |
| friendlyName: |
|
(NSString *) |
friendlyName |
| capabilities: |
|
(NSInteger) |
capabilities |
| volumeLevel: |
|
(float) |
volume |
| muted: |
|
(BOOL) |
muted |
|
|
| |
מאותחל ייעודי.
- Parameters
-
| deviceID | The unique device ID. |
| friendlyName | The device's friendly name. |
| capabilities | The device capabilities. |
| volume | The device volume level. |
| muted | Whether the device is muted. |
| - (NSString*) friendlyName |
|
readnonatomiccopy |
| - (NSInteger) capabilities |
|
readwritenonatomicassign |
רמת עוצמת הקול של המכשיר.
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["The GCKMultizoneDevice class represents a device in a multizone group. It can be initialized with JSON data or specific parameters: `deviceID`, `friendlyName`, `capabilities`, `volumeLevel`, and `muted`. The class stores the device's unique ID, its user-friendly name, its capabilities, the current volume level, and whether it's muted. It also inherits `NSObject`, `NSCopying`, and `NSSecureCoding` and is a member of a multizone group.\n"]]