Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class Open.
Message for opening a new stream.
Generated from protobuf message google.cloud.devicestreaming.v1.Open
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ stream_id |
int
Required. The unique ID that will be used to talk to this stream. This should probably just be a number that increments for each new Open request. |
↳ service |
string
Optional. An ADB service to use in the new stream. |
getStreamId
Required. The unique ID that will be used to talk to this stream. This should probably just be a number that increments for each new Open request.
| Returns | |
|---|---|
| Type | Description |
int |
|
setStreamId
Required. The unique ID that will be used to talk to this stream. This should probably just be a number that increments for each new Open request.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getService
Optional. An ADB service to use in the new stream.
| Returns | |
|---|---|
| Type | Description |
string |
|
setService
Optional. An ADB service to use in the new stream.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|