Table of Contents

Class DataTrackSchemaId

Namespace
LiveKit.Proto

Uniquely identifies a data track schema.

public sealed class DataTrackSchemaId : Google.Protobuf.IMessage<DataTrackSchemaId>, Google.Protobuf.IBufferMessage
Inheritance
DataTrackSchemaId
Implements
IBufferMessage
Extension Methods

Constructors

DataTrackSchemaId()

public DataTrackSchemaId()

DataTrackSchemaId(DataTrackSchemaId)

public DataTrackSchemaId(DataTrackSchemaId other)

Parameters

other DataTrackSchemaId

Fields

EncodingFieldNumber

Field number for the "encoding" field.

public const int EncodingFieldNumber = 2

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Encoding

Encoding of the schema definition.

public DataTrackSchemaEncoding Encoding { get; set; }

Property Value

DataTrackSchemaEncoding

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

Name

Name component of the schema identifier.

public string Name { get; set; }

Property Value

string

Parser

public static Google.Protobuf.MessageParser<DataTrackSchemaId> Parser { get; }

Property Value

MessageParser<DataTrackSchemaId>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearName()

Clears the value of the "name" field

public void ClearName()

Clone()

public DataTrackSchemaId Clone()

Returns

DataTrackSchemaId

Equals(DataTrackSchemaId)

public bool Equals(DataTrackSchemaId other)

Parameters

other DataTrackSchemaId

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(DataTrackSchemaId)

public void MergeFrom(DataTrackSchemaId other)

Parameters

other DataTrackSchemaId

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream