Class DataTrackInfo
public sealed class DataTrackInfo : IMessage<DataTrackInfo>, IEquatable<DataTrackInfo>, IDeepCloneable<DataTrackInfo>, IBufferMessage, IMessage
- Inheritance
-
DataTrackInfo
- Implements
-
IMessage<DataTrackInfo>IDeepCloneable<DataTrackInfo>IBufferMessageIMessage
- Inherited Members
Constructors
DataTrackInfo()
public DataTrackInfo()
DataTrackInfo(DataTrackInfo)
public DataTrackInfo(DataTrackInfo other)
Parameters
otherDataTrackInfo
Fields
EncryptionFieldNumber
Field number for the "encryption" field.
public const int EncryptionFieldNumber = 4
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 3
Field Value
PubHandleFieldNumber
Field number for the "pub_handle" field.
public const int PubHandleFieldNumber = 1
Field Value
SidFieldNumber
Field number for the "sid" field.
public const int SidFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Encryption
Method used for end-to-end encryption (E2EE) on packet payloads.
public Encryption.Types.Type Encryption { get; set; }
Property Value
Name
Human-readable identifier (e.g., geoLocation, servoPosition.x, etc.), unique per publisher.
public string Name { get; set; }
Property Value
Parser
public static MessageParser<DataTrackInfo> Parser { get; }
Property Value
- MessageParser<DataTrackInfo>
PubHandle
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
public uint PubHandle { get; set; }
Property Value
Sid
Server-assigned track identifier.
public string Sid { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public DataTrackInfo Clone()
Returns
- DataTrackInfo
A deep clone of this object.
Equals(DataTrackInfo)
public bool Equals(DataTrackInfo other)
Parameters
otherDataTrackInfo
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(DataTrackInfo)
Merges the given message into this one.
public void MergeFrom(DataTrackInfo other)
Parameters
otherDataTrackInfo
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.