0.2.4 (latest) 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class StatusUpdate.

A StatusUpdate message given over the ADB protocol for the device state.

Generated from protobuf message `google.cloud.devicestreaming.v1.StatusUpdate`

## Namespace

Google \\ Cloud \\ DeviceStreaming \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` The device's state |
| `↳ properties` | `array|Google\Protobuf\Internal\MapField` A map of properties with information about this device. |
| `↳ features` | `string` A comma-separated list of "features" that this device supports. |

### getState

The device's state

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeviceState](https://docs.cloud.google.com/php/docs/reference/cloud-devicestreaming/latest/V1.StatusUpdate.DeviceState). |

### setState

The device's state

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DeviceState](https://docs.cloud.google.com/php/docs/reference/cloud-devicestreaming/latest/V1.StatusUpdate.DeviceState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProperties

A map of properties with information about this device.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setProperties

A map of properties with information about this device.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFeatures

A comma-separated list of "features" that this device supports.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFeatures

A comma-separated list of "features" that this device supports.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |