Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class StreamStatus.
The result of a stream.
Generated from protobuf message google.cloud.devicestreaming.v1.StreamStatus
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ stream_id |
int
The unique ID of this stream, assigned by the client. |
↳ okay |
Okay
Okay for success. |
↳ fail |
Fail
Fail for failure. |
getStreamId
The unique ID of this stream, assigned by the client.
Returns | |
---|---|
Type | Description |
int |
setStreamId
The unique ID of this stream, assigned by the client.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getOkay
Okay for success.
Returns | |
---|---|
Type | Description |
Okay|null |
hasOkay
setOkay
Okay for success.
Parameter | |
---|---|
Name | Description |
var |
Okay
|
Returns | |
---|---|
Type | Description |
$this |
getFail
Fail for failure.
Returns | |
---|---|
Type | Description |
Fail|null |
hasFail
setFail
Fail for failure.
Parameter | |
---|---|
Name | Description |
var |
Fail
|
Returns | |
---|---|
Type | Description |
$this |
getStatus
Returns | |
---|---|
Type | Description |
string |