GCKMultizoneDevice Class
Stay organized with collections
Save and categorize content based on your preferences.
A member device of a multizone group.
- Since
- 3.1
Inherits GCKDynamicDevice, <NSCopying>, and <NSSecureCoding>.
- (BOOL) hasCapabilities: |
|
(GCKDeviceCapabilities) |
deviceCapabilities |
|
Returns YES
if the device supports the given capabilities.
- Parameters
-
Whether the device is muted.
|
readnonatomiccopyinherited |
- (NSString*) friendlyName |
|
readnonatomiccopyinherited |
The friendly name of the device.
- (GCKDeviceCapabilities) capabilities |
|
readnonatomicassigninherited |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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,["[Instance Methods](#pub-methods) \\| [Properties](#properties) \nGCKMultizoneDevice Class Reference \n\nOverview \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| - (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| |-----------------------| | - (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."]]