Table of Contents

Class UnpublishTrackRequest

Namespace
LiveKit.Proto

Unpublish a track from the room

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

Constructors

UnpublishTrackRequest()

public UnpublishTrackRequest()

UnpublishTrackRequest(UnpublishTrackRequest)

public UnpublishTrackRequest(UnpublishTrackRequest other)

Parameters

other UnpublishTrackRequest

Fields

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 4

Field Value

int

StopOnUnpublishFieldNumber

Field number for the "stop_on_unpublish" field.

public const int StopOnUnpublishFieldNumber = 3

Field Value

int

TrackSidFieldNumber

Field number for the "track_sid" field.

public const int TrackSidFieldNumber = 2

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

HasStopOnUnpublish

Gets whether the "stop_on_unpublish" field is set

public bool HasStopOnUnpublish { get; }

Property Value

bool

HasTrackSid

Gets whether the "track_sid" field is set

public bool HasTrackSid { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<UnpublishTrackRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

StopOnUnpublish

public bool StopOnUnpublish { get; set; }

Property Value

bool

TrackSid

public string TrackSid { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

ClearStopOnUnpublish()

Clears the value of the "stop_on_unpublish" field

public void ClearStopOnUnpublish()

ClearTrackSid()

Clears the value of the "track_sid" field

public void ClearTrackSid()

Clone()

public UnpublishTrackRequest Clone()

Returns

UnpublishTrackRequest

Equals(UnpublishTrackRequest)

public bool Equals(UnpublishTrackRequest other)

Parameters

other UnpublishTrackRequest

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

public void MergeFrom(UnpublishTrackRequest other)

Parameters

other UnpublishTrackRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream