Table of Contents

Class TrackInfo

Namespace
LiveKit.Proto
public sealed class TrackInfo : Google.Protobuf.IMessage<TrackInfo>, Google.Protobuf.IBufferMessage
Inheritance
TrackInfo
Implements
IBufferMessage
Extension Methods

Constructors

TrackInfo()

public TrackInfo()

TrackInfo(TrackInfo)

public TrackInfo(TrackInfo other)

Parameters

other TrackInfo

Fields

KindFieldNumber

Field number for the "kind" field.

public const int KindFieldNumber = 3

Field Value

int

MutedFieldNumber

Field number for the "muted" field.

public const int MutedFieldNumber = 5

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 2

Field Value

int

RemoteFieldNumber

Field number for the "remote" field.

public const int RemoteFieldNumber = 6

Field Value

int

SidFieldNumber

Field number for the "sid" field.

public const int SidFieldNumber = 1

Field Value

int

StreamStateFieldNumber

Field number for the "stream_state" field.

public const int StreamStateFieldNumber = 4

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasKind

Gets whether the "kind" field is set

public bool HasKind { get; }

Property Value

bool

HasMuted

Gets whether the "muted" field is set

public bool HasMuted { get; }

Property Value

bool

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

HasRemote

Gets whether the "remote" field is set

public bool HasRemote { get; }

Property Value

bool

HasSid

Gets whether the "sid" field is set

public bool HasSid { get; }

Property Value

bool

HasStreamState

Gets whether the "stream_state" field is set

public bool HasStreamState { get; }

Property Value

bool

Kind

public TrackKind Kind { get; set; }

Property Value

TrackKind

Muted

public bool Muted { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<TrackInfo>

Remote

public bool Remote { get; set; }

Property Value

bool

Sid

public string Sid { get; set; }

Property Value

string

StreamState

public StreamState StreamState { get; set; }

Property Value

StreamState

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearKind()

Clears the value of the "kind" field

public void ClearKind()

ClearMuted()

Clears the value of the "muted" field

public void ClearMuted()

ClearName()

Clears the value of the "name" field

public void ClearName()

ClearRemote()

Clears the value of the "remote" field

public void ClearRemote()

ClearSid()

Clears the value of the "sid" field

public void ClearSid()

ClearStreamState()

Clears the value of the "stream_state" field

public void ClearStreamState()

Clone()

public TrackInfo Clone()

Returns

TrackInfo

Equals(TrackInfo)

public bool Equals(TrackInfo other)

Parameters

other TrackInfo

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

public void MergeFrom(TrackInfo other)

Parameters

other TrackInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream