GCKMultizoneDevice Class
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מכשיר ששייך לקבוצה מרובת אזורים.
- מאז
- 3.1
מקבלת בירושה את GCKDynamicDevice, <NSCopy> ו-<NSSecureCoding>.
|
(instancetype) | - init |
|
(BOOL) | - hasCapabilities: |
| הפונקציה מחזירה את הערך YES אם המכשיר תומך ביכולות הנתונות. עוד...
|
|
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
הפונקציה מחזירה את הערך YES
אם המכשיר תומך ביכולות הנתונות.
- Parameters
-
|
readnonatomiccopyinherited |
- (NSString*) friendlyName |
|
readnonatomiccopyinherited |
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassigninherited |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003eGCKMultizoneDevice\u003c/code\u003e class represents a member device within a multizone group, inheriting from \u003ccode\u003eGCKDynamicDevice\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to access device information like volume level, mute status, unique ID, friendly name, and capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehasCapabilities:\u003c/code\u003e method allows checking if the device supports specific features.\u003c/p\u003e\n"],["\u003cp\u003eYou can access detailed information about the volume level, mute status, device ID, friendly name, and device capabilities through its properties.\u003c/p\u003e\n"]]],[],null,["# GCKMultizoneDevice Class\n\n[Instance Methods](#pub-methods) \\| [Properties](#properties) \nGCKMultizoneDevice Class Reference \n\nOverview\n--------\n\nA member device of a multizone group.\n\nSince\n: 3.1\n\nInherits [GCKDynamicDevice](/cast/docs/reference/ios/interface_g_c_k_dynamic_device), \\\u003cNSCopying\\\u003e, and \\\u003cNSSecureCoding\\\u003e.\n\n|----------------|-----------------------------------------------------------------------------------------------------------------|\n| Instance Method Summary ----------------------- ||\n| (instancetype) | - **init** |\n| ||\n| (BOOL) | - [hasCapabilities:](/cast/docs/reference/ios/interface_g_c_k_dynamic_device#aa96b679416b818b6d12544d984f77b30) |\n| | Returns `YES` if the device supports the given capabilities. [More...](#aa96b679416b818b6d12544d984f77b30) |\n| ||\n\n|-----------------------|------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| float | [volumeLevel](/cast/docs/reference/ios/interface_g_c_k_multizone_device#a464741c5f74dbaf3ffc3e410a2542a85) |\n| | The device volume level. [More...](#a464741c5f74dbaf3ffc3e410a2542a85) |\n| ||\n| BOOL | [muted](/cast/docs/reference/ios/interface_g_c_k_multizone_device#ab728b3ef12cc69e5efc4a6f99d906a47) |\n| | Whether the device is muted. [More...](#ab728b3ef12cc69e5efc4a6f99d906a47) |\n| ||\n| NSString \\* | [deviceID](/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a762b2a3a80801019058f0f685149518e) |\n| | The unique device ID. [More...](#a762b2a3a80801019058f0f685149518e) |\n| ||\n| NSString \\* | [friendlyName](/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a12d89fee393b6329d1e35a1a2b693d70) |\n| | The friendly name of the device. [More...](#a12d89fee393b6329d1e35a1a2b693d70) |\n| ||\n| GCKDeviceCapabilities | [capabilities](/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a2168f666d0e095558774c2bedeb719f5) |\n| | The device capabilities. [More...](#a2168f666d0e095558774c2bedeb719f5) |\n| ||\n\nMethod Detail\n-------------\n\n|---------------------------|---|-------------------------|----------------------|---|\n| - (BOOL) hasCapabilities: | | (GCKDeviceCapabilities) | *deviceCapabilities* | |\n\nReturns `YES` if the device supports the given capabilities.\n\nParameters\n:\n\n |--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n | deviceCapabilities | A bitwise-OR of one or more of the [GCKDeviceCapability](/cast/docs/reference/ios/g_c_k_device_8h#a3f046cbbfd046c131267eb314380727d) constants. |\n\n\nProperty Detail\n---------------\n\n|-----------------------------------------------------|---------------------|\n| |-----------------------| | - (float) volumeLevel | | readnonatomicassign |\n\nThe device volume level. \n\n|---------------------------------------|---------------------|\n| |----------------| | - (BOOL) muted | | readnonatomicassign |\n\nWhether the device is muted. \n\n|---------------------------------------------------------|----------------------------|\n| |-------------------------| | - (NSString\\*) deviceID | | readnonatomiccopyinherited |\n\nThe unique device ID. \n\n|-----------------------------------------------------------------|----------------------------|\n| |-----------------------------| | - (NSString\\*) friendlyName | | readnonatomiccopyinherited |\n\nThe friendly name of the device. \n\n|---------------------------------------------------------------------------------------|------------------------------|\n| |----------------------------------------| | - (GCKDeviceCapabilities) capabilities | | readnonatomicassigninherited |\n\nThe device capabilities."]]