Table of Contents

Class ParticipantTrackPermission

Namespace
LiveKit.Proto
Assembly
LivekitRtc.dll
public sealed class ParticipantTrackPermission : IMessage<ParticipantTrackPermission>, IEquatable<ParticipantTrackPermission>, IDeepCloneable<ParticipantTrackPermission>, IBufferMessage, IMessage
Inheritance
ParticipantTrackPermission
Implements
IBufferMessage
Inherited Members

Constructors

ParticipantTrackPermission()

public ParticipantTrackPermission()

ParticipantTrackPermission(ParticipantTrackPermission)

public ParticipantTrackPermission(ParticipantTrackPermission other)

Parameters

other ParticipantTrackPermission

Properties

AllowAll

Grant permission to all all tracks. Takes precedence over allowedTrackSids.

public bool AllowAll { get; set; }

Property Value

bool

AllowedTrackSids

List of track sids to grant permission to.

public RepeatedField<string> AllowedTrackSids { get; }

Property Value

RepeatedField<string>

HasAllowAll

Gets whether the "allow_all" field is set

public bool HasAllowAll { get; }

Property Value

bool

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

ParticipantIdentity

The participant identity this permission applies to.

public string ParticipantIdentity { get; set; }

Property Value

string

Methods

ClearAllowAll()

Clears the value of the "allow_all" field

public void ClearAllowAll()

ClearParticipantIdentity()

Clears the value of the "participant_identity" field

public void ClearParticipantIdentity()