Google Cloud Device Streaming V1 Client - Class DeviceState (0.1.1)

Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class DeviceState.

The state displayed with the ADB Device when running "adb devices"

Protobuf type google.cloud.devicestreaming.v1.StatusUpdate.DeviceState

Namespace

Google \ Cloud \ DeviceStreaming \ V1 \ StatusUpdate

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DEVICE_STATE_UNSPECIFIED

Value: 0

The device state is unknown.

Generated from protobuf enum DEVICE_STATE_UNSPECIFIED = 0;

DEVICE

Value: 1

The ADB device is in the "device" status.

Generated from protobuf enum DEVICE = 1;

RECOVERY

Value: 2

The ADB device is in the "recovery" status.

Generated from protobuf enum RECOVERY = 2;

RESCUE

Value: 3

The ADB device is in the "rescue" status.

Generated from protobuf enum RESCUE = 3;

SIDELOAD

Value: 4

The ADB device is in the "sideload" status.

Generated from protobuf enum SIDELOAD = 4;

MISSING

Value: 10

The ADB device is in the "missing" status.

Generated from protobuf enum MISSING = 10;

OFFLINE

Value: 11

The ADB device is in the "offline" status.

Generated from protobuf enum OFFLINE = 11;

UNAUTHORIZED

Value: 12

The ADB device is in the "unauthorized" status.

Generated from protobuf enum UNAUTHORIZED = 12;

AUTHORIZING

Value: 13

The ADB device is in the "authorizing" status.

Generated from protobuf enum AUTHORIZING = 13;

CONNECTING

Value: 14

The ADB device is in the "connecting" status.

Generated from protobuf enum CONNECTING = 14;