Table of Contents

Class ParticipantPermission

Namespace
LiveKit.Proto
Assembly
LivekitRtc.dll

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

public sealed class ParticipantPermission : IMessage<ParticipantPermission>, IEquatable<ParticipantPermission>, IDeepCloneable<ParticipantPermission>, IBufferMessage, IMessage
Inheritance
ParticipantPermission
Implements
IBufferMessage
Inherited Members

Constructors

ParticipantPermission()

public ParticipantPermission()

ParticipantPermission(ParticipantPermission)

public ParticipantPermission(ParticipantPermission other)

Parameters

other ParticipantPermission

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 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

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

Methods

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