Google Cloud Device Streaming V1 Client - Class StatusUpdate (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

setState

The device's state

Parameter
Name Description
var int
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