Table of Contents

Class EnableRemoteTrackRequest

Namespace
LiveKit.Proto

Enable/Disable a remote track

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

Constructors

EnableRemoteTrackRequest()

public EnableRemoteTrackRequest()

EnableRemoteTrackRequest(EnableRemoteTrackRequest)

public EnableRemoteTrackRequest(EnableRemoteTrackRequest other)

Parameters

other EnableRemoteTrackRequest

Fields

EnabledFieldNumber

Field number for the "enabled" field.

public const int EnabledFieldNumber = 2

Field Value

int

TrackHandleFieldNumber

Field number for the "track_handle" field.

public const int TrackHandleFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

Enabled

public bool Enabled { get; set; }

Property Value

bool

HasEnabled

Gets whether the "enabled" field is set

public bool HasEnabled { get; }

Property Value

bool

HasTrackHandle

Gets whether the "track_handle" field is set

public bool HasTrackHandle { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<EnableRemoteTrackRequest>

TrackHandle

public ulong TrackHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearEnabled()

Clears the value of the "enabled" field

public void ClearEnabled()

ClearTrackHandle()

Clears the value of the "track_handle" field

public void ClearTrackHandle()

Clone()

public EnableRemoteTrackRequest Clone()

Returns

EnableRemoteTrackRequest

Equals(EnableRemoteTrackRequest)

public bool Equals(EnableRemoteTrackRequest other)

Parameters

other EnableRemoteTrackRequest

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

public void MergeFrom(EnableRemoteTrackRequest other)

Parameters

other EnableRemoteTrackRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream