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
Properties
AllowAll
Grant permission to all all tracks. Takes precedence over allowedTrackSids.
public bool AllowAll { get; set; }
Property Value
AllowedTrackSids
List of track sids to grant permission to.
public RepeatedField<string> AllowedTrackSids { get; }
Property Value
HasAllowAll
Gets whether the "allow_all" field is set
public bool HasAllowAll { get; }
Property Value
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
ParticipantIdentity
The participant identity this permission applies to.
public string ParticipantIdentity { get; set; }
Property Value
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()