Table of Contents

Class TrackSubscribed

Namespace
LiveKit.Proto

Publication isn't needed for subscription events on the FFI The FFI will retrieve the publication using the Track sid

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

Constructors

TrackSubscribed()

public TrackSubscribed()

TrackSubscribed(TrackSubscribed)

public TrackSubscribed(TrackSubscribed other)

Parameters

other TrackSubscribed

Fields

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 1

Field Value

int

TrackFieldNumber

Field number for the "track" field.

public const int TrackFieldNumber = 2

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<TrackSubscribed>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

Track

public OwnedTrack Track { get; set; }

Property Value

OwnedTrack

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearParticipantIdentity()

Clears the value of the "participant_identity" field

public void ClearParticipantIdentity()

Clone()

public TrackSubscribed Clone()

Returns

TrackSubscribed

Equals(TrackSubscribed)

public bool Equals(TrackSubscribed other)

Parameters

other TrackSubscribed

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

public void MergeFrom(TrackSubscribed other)

Parameters

other TrackSubscribed

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream