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
otherDataTrackSchemaEncoding
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
HasCustom
Gets whether the "custom" field is set
public bool HasCustom { get; }
Property Value
HasWellKnown
Gets whether the "well_known" field is set
public bool HasWellKnown { get; }
Property Value
ValueCase
public DataTrackSchemaEncoding.ValueOneofCase ValueCase { get; }
Property Value
WellKnown
public DataTrackSchemaEncoding.Types.WellKnownSchemaEncoding WellKnown { get; set; }
Property Value
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()