A message returned from a device.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
statusUpdate |
Information about the device's state. |
streamStatus |
The result of a device stream from ADB. |
streamData |
Data from an open stream. |
StatusUpdate
A StatusUpdate message given over the ADB protocol for the device state.
JSON representation |
---|
{
"state": enum ( |
Fields | |
---|---|
state |
The device's state |
properties |
A map of properties with information about this device. An object containing a list of |
features |
A comma-separated list of "features" that this device supports. |
StreamStatus
The result of a stream.
JSON representation |
---|
{ "streamId": integer, // Union field |
Fields | |
---|---|
streamId |
The unique ID of this stream, assigned by the client. |
Union field status . The result of the stream. Either "Okay" for success or "Fail" for failure. status can be only one of the following: |
|
okay |
Okay for success. |
fail |
Fail for failure. |
Okay
This type has no fields.
Message signifying that the stream is open
Fail
Message signifying that the stream failed to open
JSON representation |
---|
{ "reason": string } |
Fields | |
---|---|
reason |
A user-displayable failure reason. |