Table of Contents

Class ParticipantDisconnected

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

Constructors

ParticipantDisconnected()

public ParticipantDisconnected()

ParticipantDisconnected(ParticipantDisconnected)

public ParticipantDisconnected(ParticipantDisconnected other)

Parameters

other ParticipantDisconnected

Fields

DisconnectReasonFieldNumber

Field number for the "disconnect_reason" field.

public const int DisconnectReasonFieldNumber = 2

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

DisconnectReason

public DisconnectReason DisconnectReason { get; set; }

Property Value

DisconnectReason

HasDisconnectReason

Gets whether the "disconnect_reason" field is set

public bool HasDisconnectReason { get; }

Property Value

bool

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<ParticipantDisconnected>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDisconnectReason()

Clears the value of the "disconnect_reason" field

public void ClearDisconnectReason()

ClearParticipantIdentity()

Clears the value of the "participant_identity" field

public void ClearParticipantIdentity()

Clone()

public ParticipantDisconnected Clone()

Returns

ParticipantDisconnected

Equals(ParticipantDisconnected)

public bool Equals(ParticipantDisconnected other)

Parameters

other ParticipantDisconnected

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

public void MergeFrom(ParticipantDisconnected other)

Parameters

other ParticipantDisconnected

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream