Table of Contents

Class TextStreamOpenRequest

Namespace
LiveKit.Proto

Opens an outgoing text stream. Call must be balanced with a TextStreamCloseRequest.

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

Constructors

TextStreamOpenRequest()

public TextStreamOpenRequest()

TextStreamOpenRequest(TextStreamOpenRequest)

public TextStreamOpenRequest(TextStreamOpenRequest other)

Parameters

other TextStreamOpenRequest

Fields

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

OptionsFieldNumber

Field number for the "options" field.

public const int OptionsFieldNumber = 2

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 3

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Options

Options to use for opening the stream.

public StreamTextOptions Options { get; set; }

Property Value

StreamTextOptions

Parser

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

Property Value

MessageParser<TextStreamOpenRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

Clone()

public TextStreamOpenRequest Clone()

Returns

TextStreamOpenRequest

Equals(TextStreamOpenRequest)

public bool Equals(TextStreamOpenRequest other)

Parameters

other TextStreamOpenRequest

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

public void MergeFrom(TextStreamOpenRequest other)

Parameters

other TextStreamOpenRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream