Class DataTrackOptions
Options for publishing a data track.
public sealed class DataTrackOptions : Google.Protobuf.IMessage<DataTrackOptions>, Google.Protobuf.IBufferMessage
- Inheritance
-
DataTrackOptions
- Implements
-
IBufferMessage
- Extension Methods
Constructors
DataTrackOptions()
public DataTrackOptions()
DataTrackOptions(DataTrackOptions)
public DataTrackOptions(DataTrackOptions other)
Parameters
otherDataTrackOptions
Fields
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
Name
Track name used to identify the track to other participants.
Must not be empty and must be unique per publisher.
public string Name { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataTrackOptions> Parser { get; }
Property Value
- MessageParser<DataTrackOptions>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearName()
Clears the value of the "name" field
public void ClearName()
Clone()
public DataTrackOptions Clone()
Returns
Equals(DataTrackOptions)
public bool Equals(DataTrackOptions other)
Parameters
otherDataTrackOptions
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(DataTrackOptions)
public void MergeFrom(DataTrackOptions other)
Parameters
otherDataTrackOptions
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream