Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class AdbMessage.
A message to an ADB server.
Generated from protobuf message google.cloud.devicestreaming.v1.AdbMessage
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ open |
Open
Open a new stream. |
↳ stream_data |
StreamData
Send data to a stream. |
getOpen
Open a new stream.
Returns | |
---|---|
Type | Description |
Open|null |
hasOpen
setOpen
Open a new stream.
Parameter | |
---|---|
Name | Description |
var |
Open
|
Returns | |
---|---|
Type | Description |
$this |
getStreamData
Send data to a stream.
Returns | |
---|---|
Type | Description |
StreamData|null |
hasStreamData
setStreamData
Send data to a stream.
Parameter | |
---|---|
Name | Description |
var |
StreamData
|
Returns | |
---|---|
Type | Description |
$this |
getContents
Returns | |
---|---|
Type | Description |
string |