Table of Contents

Class SetTrackSubscriptionPermissionsRequest

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

Constructors

SetTrackSubscriptionPermissionsRequest()

public SetTrackSubscriptionPermissionsRequest()

SetTrackSubscriptionPermissionsRequest(SetTrackSubscriptionPermissionsRequest)

public SetTrackSubscriptionPermissionsRequest(SetTrackSubscriptionPermissionsRequest other)

Parameters

other SetTrackSubscriptionPermissionsRequest

Fields

AllParticipantsAllowedFieldNumber

Field number for the "all_participants_allowed" field.

public const int AllParticipantsAllowedFieldNumber = 2

Field Value

int

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

PermissionsFieldNumber

Field number for the "permissions" field.

public const int PermissionsFieldNumber = 3

Field Value

int

Properties

AllParticipantsAllowed

public bool AllParticipantsAllowed { get; set; }

Property Value

bool

Descriptor

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

Property Value

MessageDescriptor

HasAllParticipantsAllowed

Gets whether the "all_participants_allowed" field is set

public bool HasAllParticipantsAllowed { get; }

Property Value

bool

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<SetTrackSubscriptionPermissionsRequest>

Permissions

public Google.Protobuf.Collections.RepeatedField<ParticipantTrackPermission> Permissions { get; }

Property Value

RepeatedField<ParticipantTrackPermission>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearAllParticipantsAllowed()

Clears the value of the "all_participants_allowed" field

public void ClearAllParticipantsAllowed()

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

Clone()

public SetTrackSubscriptionPermissionsRequest Clone()

Returns

SetTrackSubscriptionPermissionsRequest

Equals(SetTrackSubscriptionPermissionsRequest)

public bool Equals(SetTrackSubscriptionPermissionsRequest other)

Parameters

other SetTrackSubscriptionPermissionsRequest

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

public void MergeFrom(SetTrackSubscriptionPermissionsRequest other)

Parameters

other SetTrackSubscriptionPermissionsRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream