Table of Contents

Class DataTrackSchemaEncoding

Namespace
LiveKit.Proto

Encoding used to interpret a data track schema definition.

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

Constructors

DataTrackSchemaEncoding()

public DataTrackSchemaEncoding()

DataTrackSchemaEncoding(DataTrackSchemaEncoding)

public DataTrackSchemaEncoding(DataTrackSchemaEncoding other)

Parameters

other DataTrackSchemaEncoding

Fields

CustomFieldNumber

Field number for the "custom" field.

public const int CustomFieldNumber = 2

Field Value

int

WellKnownFieldNumber

Field number for the "well_known" field.

public const int WellKnownFieldNumber = 1

Field Value

int

Properties

Custom

Identifier of a custom encoding not covered by the well-known cases. This must be non-empty and no longer than 25 characters.

public string Custom { get; set; }

Property Value

string

Descriptor

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

Property Value

MessageDescriptor

EncodingCase

public DataTrackSchemaEncoding.EncodingOneofCase EncodingCase { get; }

Property Value

DataTrackSchemaEncoding.EncodingOneofCase

HasCustom

Gets whether the "custom" field is set

public bool HasCustom { get; }

Property Value

bool

HasWellKnown

Gets whether the "well_known" field is set

public bool HasWellKnown { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<DataTrackSchemaEncoding>

WellKnown

public DataTrackSchemaEncoding.Types.WellKnownSchemaEncoding WellKnown { get; set; }

Property Value

DataTrackSchemaEncoding.Types.WellKnownSchemaEncoding

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearCustom()

Clears the value of the oneof if it's currently set to "custom"

public void ClearCustom()

ClearEncoding()

public void ClearEncoding()

ClearWellKnown()

Clears the value of the oneof if it's currently set to "well_known"

public void ClearWellKnown()

Clone()

public DataTrackSchemaEncoding Clone()

Returns

DataTrackSchemaEncoding

Equals(DataTrackSchemaEncoding)

public bool Equals(DataTrackSchemaEncoding other)

Parameters

other DataTrackSchemaEncoding

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(DataTrackSchemaEncoding)

public void MergeFrom(DataTrackSchemaEncoding other)

Parameters

other DataTrackSchemaEncoding

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream