Table of Contents

Class DataTrackSchemaEncoding

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll

Encoding for schema definition.

public sealed class DataTrackSchemaEncoding : IMessage<DataTrackSchemaEncoding>, IEquatable<DataTrackSchemaEncoding>, IDeepCloneable<DataTrackSchemaEncoding>, IBufferMessage, IMessage
Inheritance
DataTrackSchemaEncoding
Implements
IBufferMessage
Inherited Members

Constructors

DataTrackSchemaEncoding()

public DataTrackSchemaEncoding()

DataTrackSchemaEncoding(DataTrackSchemaEncoding)

public DataTrackSchemaEncoding(DataTrackSchemaEncoding other)

Parameters

other DataTrackSchemaEncoding

Properties

Custom

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

public string Custom { get; set; }

Property Value

string

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

ValueCase

public DataTrackSchemaEncoding.ValueOneofCase ValueCase { get; }

Property Value

DataTrackSchemaEncoding.ValueOneofCase

WellKnown

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

Property Value

DataTrackSchemaEncoding.Types.WellKnownSchemaEncoding

Methods

ClearCustom()

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

public void ClearCustom()

ClearValue()

public void ClearValue()

ClearWellKnown()

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

public void ClearWellKnown()