# GCKDynamicDevice Class

[Instance Methods](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#pub-methods) \| [Properties](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#properties) GCKDynamicDevice Class Reference

## Overview

A device object that can be part of a multizone group.

Since
:   4.3.5

Inherits NSObject, \<NSCopying\>, and \<NSSecureCoding\>.

Inherited by [GCKMultizoneDevice](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_multizone_device).

|---|---|
| ## Instance Method Summary ||
| (instancetype) | - **init** |
|   ||
| (BOOL) | - [hasCapabilities:](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#aa96b679416b818b6d12544d984f77b30) |
|   | Returns `YES` if the device supports the given capabilities. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#aa96b679416b818b6d12544d984f77b30) |
|   ||

|---|---|
| ## Property Summary ||
| NSString \* | [deviceID](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a762b2a3a80801019058f0f685149518e) |
|   | The unique device ID. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a762b2a3a80801019058f0f685149518e) |
|   ||
| NSString \* | [friendlyName](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a12d89fee393b6329d1e35a1a2b693d70) |
|   | The friendly name of the device. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a12d89fee393b6329d1e35a1a2b693d70) |
|   ||
| GCKDeviceCapabilities | [capabilities](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a2168f666d0e095558774c2bedeb719f5) |
|   | The device capabilities. [More...](https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_dynamic_device#a2168f666d0e095558774c2bedeb719f5) |
|   ||

## Method Detail

|---|---|---|---|---|
| - (BOOL) hasCapabilities: |   | (GCKDeviceCapabilities) | *deviceCapabilities* |   |

Returns `YES` if the device supports the given capabilities.

Parameters
:

    |---|---|
    | deviceCapabilities | A bitwise-OR of one or more of the [GCKDeviceCapability](https://developers.google.com/cast/docs/reference/ios/g_c_k_device_8h#a3f046cbbfd046c131267eb314380727d) constants. |


## Property Detail

|---|---|
| |---| | - (NSString\*) deviceID | | readnonatomiccopy |

The unique device ID.

|---|---|
| |---| | - (NSString\*) friendlyName | | readnonatomiccopy |

The friendly name of the device.

|---|---|
| |---| | - (GCKDeviceCapabilities) capabilities | | readnonatomicassign |

The device capabilities.