Table of Contents

Class ConnectRequest

Namespace
LiveKit.Proto

Connect to a new LiveKit room

public sealed class ConnectRequest : Google.Protobuf.IMessage<ConnectRequest>, Google.Protobuf.IBufferMessage
Inheritance
ConnectRequest
Implements
IBufferMessage
Extension Methods

Constructors

ConnectRequest()

public ConnectRequest()

ConnectRequest(ConnectRequest)

public ConnectRequest(ConnectRequest other)

Parameters

other ConnectRequest

Fields

OptionsFieldNumber

Field number for the "options" field.

public const int OptionsFieldNumber = 3

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 4

Field Value

int

TokenFieldNumber

Field number for the "token" field.

public const int TokenFieldNumber = 2

Field Value

int

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

HasToken

Gets whether the "token" field is set

public bool HasToken { get; }

Property Value

bool

HasUrl

Gets whether the "url" field is set

public bool HasUrl { get; }

Property Value

bool

Options

public RoomOptions Options { get; set; }

Property Value

RoomOptions

Parser

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

Property Value

MessageParser<ConnectRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Token

public string Token { get; set; }

Property Value

string

Url

public string Url { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

ClearToken()

Clears the value of the "token" field

public void ClearToken()

ClearUrl()

Clears the value of the "url" field

public void ClearUrl()

Clone()

public ConnectRequest Clone()

Returns

ConnectRequest

Equals(ConnectRequest)

public bool Equals(ConnectRequest other)

Parameters

other ConnectRequest

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

public void MergeFrom(ConnectRequest other)

Parameters

other ConnectRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream