Table of Contents

Class ParticipantInfo

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

Constructors

ParticipantInfo()

public ParticipantInfo()

ParticipantInfo(ParticipantInfo)

public ParticipantInfo(ParticipantInfo other)

Parameters

other ParticipantInfo

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 6

Field Value

int

DisconnectReasonFieldNumber

Field number for the "disconnect_reason" field.

public const int DisconnectReasonFieldNumber = 8

Field Value

int

IdentityFieldNumber

Field number for the "identity" field.

public const int IdentityFieldNumber = 3

Field Value

int

JoinedAtFieldNumber

Field number for the "joined_at" field.

public const int JoinedAtFieldNumber = 9

Field Value

int

KindDetailsFieldNumber

Field number for the "kind_details" field.

public const int KindDetailsFieldNumber = 10

Field Value

int

KindFieldNumber

Field number for the "kind" field.

public const int KindFieldNumber = 7

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 5

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 2

Field Value

int

PermissionFieldNumber

Field number for the "permission" field.

public const int PermissionFieldNumber = 11

Field Value

int

SidFieldNumber

Field number for the "sid" field.

public const int SidFieldNumber = 1

Field Value

int

StateFieldNumber

Field number for the "state" field.

public const int StateFieldNumber = 4

Field Value

int

Properties

Attributes

public Google.Protobuf.Collections.MapField<string, string> Attributes { get; }

Property Value

MapField<string, string>

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

HasIdentity

Gets whether the "identity" field is set

public bool HasIdentity { get; }

Property Value

bool

HasJoinedAt

Gets whether the "joined_at" field is set

public bool HasJoinedAt { get; }

Property Value

bool

HasKind

Gets whether the "kind" field is set

public bool HasKind { get; }

Property Value

bool

HasMetadata

Gets whether the "metadata" field is set

public bool HasMetadata { get; }

Property Value

bool

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

HasSid

Gets whether the "sid" field is set

public bool HasSid { get; }

Property Value

bool

HasState

Gets whether the "state" field is set

public bool HasState { get; }

Property Value

bool

Identity

public string Identity { get; set; }

Property Value

string

JoinedAt

ms timestamp of when the participant joined the room, maps to joined_at_ms in livekit_models

public long JoinedAt { get; set; }

Property Value

long

Kind

public ParticipantKind Kind { get; set; }

Property Value

ParticipantKind

KindDetails

public Google.Protobuf.Collections.RepeatedField<ParticipantKindDetail> KindDetails { get; }

Property Value

RepeatedField<ParticipantKindDetail>

Metadata

public string Metadata { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<ParticipantInfo>

Permission

public ParticipantPermission Permission { get; set; }

Property Value

ParticipantPermission

Sid

public string Sid { get; set; }

Property Value

string

State

public ParticipantState State { get; set; }

Property Value

ParticipantState

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDisconnectReason()

Clears the value of the "disconnect_reason" field

public void ClearDisconnectReason()

ClearIdentity()

Clears the value of the "identity" field

public void ClearIdentity()

ClearJoinedAt()

Clears the value of the "joined_at" field

public void ClearJoinedAt()

ClearKind()

Clears the value of the "kind" field

public void ClearKind()

ClearMetadata()

Clears the value of the "metadata" field

public void ClearMetadata()

ClearName()

Clears the value of the "name" field

public void ClearName()

ClearSid()

Clears the value of the "sid" field

public void ClearSid()

ClearState()

Clears the value of the "state" field

public void ClearState()

Clone()

public ParticipantInfo Clone()

Returns

ParticipantInfo

Equals(ParticipantInfo)

public bool Equals(ParticipantInfo other)

Parameters

other ParticipantInfo

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

public void MergeFrom(ParticipantInfo other)

Parameters

other ParticipantInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream