Table of Contents

Class ParticipantPermission

Namespace
LiveKit.Proto

copied from livekit-protocol/protocol/protobufs/livekit_models.proto and removed deprecated fields

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

Constructors

ParticipantPermission()

public ParticipantPermission()

ParticipantPermission(ParticipantPermission)

public ParticipantPermission(ParticipantPermission other)

Parameters

other ParticipantPermission

Fields

CanManageAgentSessionFieldNumber

Field number for the "can_manage_agent_session" field.

public const int CanManageAgentSessionFieldNumber = 13

Field Value

int

CanPublishDataFieldNumber

Field number for the "can_publish_data" field.

public const int CanPublishDataFieldNumber = 3

Field Value

int

CanPublishFieldNumber

Field number for the "can_publish" field.

public const int CanPublishFieldNumber = 2

Field Value

int

CanPublishSourcesFieldNumber

Field number for the "can_publish_sources" field.

public const int CanPublishSourcesFieldNumber = 9

Field Value

int

CanSubscribeFieldNumber

Field number for the "can_subscribe" field.

public const int CanSubscribeFieldNumber = 1

Field Value

int

CanSubscribeMetricsFieldNumber

Field number for the "can_subscribe_metrics" field.

public const int CanSubscribeMetricsFieldNumber = 12

Field Value

int

CanUpdateMetadataFieldNumber

Field number for the "can_update_metadata" field.

public const int CanUpdateMetadataFieldNumber = 10

Field Value

int

HiddenFieldNumber

Field number for the "hidden" field.

public const int HiddenFieldNumber = 7

Field Value

int

Properties

CanManageAgentSession

if a participant can manage an agent session via RemoteSession (control and access state)

public bool CanManageAgentSession { get; set; }

Property Value

bool

CanPublish

allow participant to publish new tracks to room

public bool CanPublish { get; set; }

Property Value

bool

CanPublishData

allow participant to publish data

public bool CanPublishData { get; set; }

Property Value

bool

CanPublishSources

sources that are allowed to be published

public Google.Protobuf.Collections.RepeatedField<TrackSource> CanPublishSources { get; }

Property Value

RepeatedField<TrackSource>

CanSubscribe

allow participant to subscribe to other tracks in the room

public bool CanSubscribe { get; set; }

Property Value

bool

CanSubscribeMetrics

if a participant can subscribe to metrics

public bool CanSubscribeMetrics { get; set; }

Property Value

bool

CanUpdateMetadata

indicates that participant can update own metadata and attributes

public bool CanUpdateMetadata { get; set; }

Property Value

bool

Descriptor

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

Property Value

MessageDescriptor

HasCanManageAgentSession

Gets whether the "can_manage_agent_session" field is set

public bool HasCanManageAgentSession { get; }

Property Value

bool

HasCanPublish

Gets whether the "can_publish" field is set

public bool HasCanPublish { get; }

Property Value

bool

HasCanPublishData

Gets whether the "can_publish_data" field is set

public bool HasCanPublishData { get; }

Property Value

bool

HasCanSubscribe

Gets whether the "can_subscribe" field is set

public bool HasCanSubscribe { get; }

Property Value

bool

HasCanSubscribeMetrics

Gets whether the "can_subscribe_metrics" field is set

public bool HasCanSubscribeMetrics { get; }

Property Value

bool

HasCanUpdateMetadata

Gets whether the "can_update_metadata" field is set

public bool HasCanUpdateMetadata { get; }

Property Value

bool

HasHidden

Gets whether the "hidden" field is set

public bool HasHidden { get; }

Property Value

bool

Hidden

indicates that it's hidden to others

public bool Hidden { get; set; }

Property Value

bool

Parser

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

Property Value

MessageParser<ParticipantPermission>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearCanManageAgentSession()

Clears the value of the "can_manage_agent_session" field

public void ClearCanManageAgentSession()

ClearCanPublish()

Clears the value of the "can_publish" field

public void ClearCanPublish()

ClearCanPublishData()

Clears the value of the "can_publish_data" field

public void ClearCanPublishData()

ClearCanSubscribe()

Clears the value of the "can_subscribe" field

public void ClearCanSubscribe()

ClearCanSubscribeMetrics()

Clears the value of the "can_subscribe_metrics" field

public void ClearCanSubscribeMetrics()

ClearCanUpdateMetadata()

Clears the value of the "can_update_metadata" field

public void ClearCanUpdateMetadata()

ClearHidden()

Clears the value of the "hidden" field

public void ClearHidden()

Clone()

public ParticipantPermission Clone()

Returns

ParticipantPermission

Equals(ParticipantPermission)

public bool Equals(ParticipantPermission other)

Parameters

other ParticipantPermission

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

public void MergeFrom(ParticipantPermission other)

Parameters

other ParticipantPermission

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream