Table of Contents

Class LocalTrackMuteRequest

Namespace
LiveKit.Proto

Mute/UnMute a track

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

Constructors

LocalTrackMuteRequest()

public LocalTrackMuteRequest()

LocalTrackMuteRequest(LocalTrackMuteRequest)

public LocalTrackMuteRequest(LocalTrackMuteRequest other)

Parameters

other LocalTrackMuteRequest

Fields

MuteFieldNumber

Field number for the "mute" field.

public const int MuteFieldNumber = 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

HasMute

Gets whether the "mute" field is set

public bool HasMute { get; }

Property Value

bool

HasTrackHandle

Gets whether the "track_handle" field is set

public bool HasTrackHandle { get; }

Property Value

bool

Mute

public bool Mute { get; set; }

Property Value

bool

Parser

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

Property Value

MessageParser<LocalTrackMuteRequest>

TrackHandle

public ulong TrackHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearMute()

Clears the value of the "mute" field

public void ClearMute()

ClearTrackHandle()

Clears the value of the "track_handle" field

public void ClearTrackHandle()

Clone()

public LocalTrackMuteRequest Clone()

Returns

LocalTrackMuteRequest

Equals(LocalTrackMuteRequest)

public bool Equals(LocalTrackMuteRequest other)

Parameters

other LocalTrackMuteRequest

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

public void MergeFrom(LocalTrackMuteRequest other)

Parameters

other LocalTrackMuteRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream