Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class StreamData.
Data for a stream.
Generated from protobuf message google.cloud.devicestreaming.v1.StreamData
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ stream_id
int
Required. The unique ID of this stream, assigned by the client.
↳ data
string
Data in the stream.
↳ close
getStreamId
Required. The unique ID of this stream, assigned by the client.
int
setStreamId
Required. The unique ID of this stream, assigned by the client.
var
int
$this
getData
Data in the stream.
string
hasData
setData
Data in the stream.
var
string
$this
getClose
The stream is closing. EOF.
hasClose
setClose
The stream is closing. EOF.
$this
getContents
string