Device Streaming v1 API - Class StreamData (1.0.0-beta01)

public sealed class StreamData : IMessage<StreamData>, IEquatable<StreamData>, IDeepCloneable<StreamData>, IBufferMessage, IMessage

Reference documentation and code samples for the Device Streaming v1 API class StreamData.

Data for a stream.

Inheritance

object > StreamData

Namespace

Google.Cloud.DeviceStreaming.V1

Assembly

Google.Cloud.DeviceStreaming.V1.dll

Constructors

StreamData()

public StreamData()

StreamData(StreamData)

public StreamData(StreamData other)
Parameter
Name Description
other StreamData

Properties

Close

public Close Close { get; set; }

The stream is closing. EOF.

Property Value
Type Description
Close

ContentsCase

public StreamData.ContentsOneofCase ContentsCase { get; }
Property Value
Type Description
StreamDataContentsOneofCase

Data

public ByteString Data { get; set; }

Data in the stream.

Property Value
Type Description
ByteString

HasData

public bool HasData { get; }

Gets whether the "data" field is set

Property Value
Type Description
bool

StreamId

public int StreamId { get; set; }

Required. The unique ID of this stream, assigned by the client.

Property Value
Type Description
int