Table of Contents

Class UpdateParticipantRequest

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class UpdateParticipantRequest : IMessage<UpdateParticipantRequest>, IEquatable<UpdateParticipantRequest>, IDeepCloneable<UpdateParticipantRequest>, IBufferMessage, IMessage
Inheritance
UpdateParticipantRequest
Implements
IDeepCloneable<UpdateParticipantRequest>
IBufferMessage
IMessage
Inherited Members

Constructors

UpdateParticipantRequest()

public UpdateParticipantRequest()

UpdateParticipantRequest(UpdateParticipantRequest)

public UpdateParticipantRequest(UpdateParticipantRequest other)

Parameters

other UpdateParticipantRequest

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 6

Field Value

int

IdentityFieldNumber

Field number for the "identity" field.

public const int IdentityFieldNumber = 2

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 3

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 5

Field Value

int

PermissionFieldNumber

Field number for the "permission" field.

public const int PermissionFieldNumber = 4

Field Value

int

RoomFieldNumber

Field number for the "room" field.

public const int RoomFieldNumber = 1

Field Value

int

Properties

Attributes

attributes to update. it only updates attributes that have been set to delete attributes, set the value to an empty string

public MapField<string, string> Attributes { get; }

Property Value

MapField<string, string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Identity

public string Identity { get; set; }

Property Value

string

Metadata

metadata to update. skipping updates if left empty

public string Metadata { get; set; }

Property Value

string

Name

display name to update

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<UpdateParticipantRequest> Parser { get; }

Property Value

MessageParser<UpdateParticipantRequest>

Permission

set to update the participant's permissions

public ParticipantPermission Permission { get; set; }

Property Value

ParticipantPermission

Room

public string Room { get; set; }

Property Value

string

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public UpdateParticipantRequest Clone()

Returns

UpdateParticipantRequest

A deep clone of this object.

Equals(UpdateParticipantRequest)

public bool Equals(UpdateParticipantRequest other)

Parameters

other UpdateParticipantRequest

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(UpdateParticipantRequest)

Merges the given message into this one.

public void MergeFrom(UpdateParticipantRequest other)

Parameters

other UpdateParticipantRequest

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.