Table of Contents

Class ParticipantTrackPermission

Namespace
LiveKit.Proto
public sealed class ParticipantTrackPermission : Google.Protobuf.IMessage<ParticipantTrackPermission>, Google.Protobuf.IBufferMessage
Inheritance
ParticipantTrackPermission
Implements
IBufferMessage
Extension Methods

Constructors

ParticipantTrackPermission()

public ParticipantTrackPermission()

ParticipantTrackPermission(ParticipantTrackPermission)

public ParticipantTrackPermission(ParticipantTrackPermission other)

Parameters

other ParticipantTrackPermission

Fields

AllowAllFieldNumber

Field number for the "allow_all" field.

public const int AllowAllFieldNumber = 2

Field Value

int

AllowedTrackSidsFieldNumber

Field number for the "allowed_track_sids" field.

public const int AllowedTrackSidsFieldNumber = 3

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 1

Field Value

int

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 Google.Protobuf.Collections.RepeatedField<string> AllowedTrackSids { get; }

Property Value

RepeatedField<string>

Descriptor

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

Property Value

MessageDescriptor

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

Parser

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

Property Value

MessageParser<ParticipantTrackPermission>

ParticipantIdentity

The participant identity this permission applies to.

public string ParticipantIdentity { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearAllowAll()

Clears the value of the "allow_all" field

public void ClearAllowAll()

ClearParticipantIdentity()

Clears the value of the "participant_identity" field

public void ClearParticipantIdentity()

Clone()

public ParticipantTrackPermission Clone()

Returns

ParticipantTrackPermission

Equals(ParticipantTrackPermission)

public bool Equals(ParticipantTrackPermission other)

Parameters

other ParticipantTrackPermission

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

public void MergeFrom(ParticipantTrackPermission other)

Parameters

other ParticipantTrackPermission

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream