Class DataTrackStreamEOS
Stream has ended.
public sealed class DataTrackStreamEOS : Google.Protobuf.IMessage<DataTrackStreamEOS>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataTrackStreamEOS
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataTrackStreamEOS()
public DataTrackStreamEOS()
DataTrackStreamEOS(DataTrackStreamEOS)
public DataTrackStreamEOS(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
Fields
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Error
If the track could not be subscribed to, a message describing the error. Absent if the stream ended normally.
public string Error { get; set; }
Property Value
HasError
Gets whether the "error" field is set
public bool HasError { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataTrackStreamEOS> Parser { get; }
Property Value
- MessageParser<DataTrackStreamEOS>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearError()
Clears the value of the "error" field
public void ClearError()
Clone()
public DataTrackStreamEOS Clone()
Returns
Equals(DataTrackStreamEOS)
public bool Equals(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(DataTrackStreamEOS)
public void MergeFrom(DataTrackStreamEOS other)
Parameters
otherDataTrackStreamEOS
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream