Table of Contents

Class StreamSendFileRequest

Namespace
LiveKit.Proto

Sends the contents of a file over a data stream.

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

Constructors

StreamSendFileRequest()

public StreamSendFileRequest()

StreamSendFileRequest(StreamSendFileRequest)

public StreamSendFileRequest(StreamSendFileRequest other)

Parameters

other StreamSendFileRequest

Fields

FilePathFieldNumber

Field number for the "file_path" field.

public const int FilePathFieldNumber = 3

Field Value

int

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 = 4

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

FilePath

Path of the file to send (must be readable by the current process).

public string FilePath { get; set; }

Property Value

string

HasFilePath

Gets whether the "file_path" field is set

public bool HasFilePath { get; }

Property Value

bool

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

public StreamByteOptions Options { get; set; }

Property Value

StreamByteOptions

Parser

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

Property Value

MessageParser<StreamSendFileRequest>

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearFilePath()

Clears the value of the "file_path" field

public void ClearFilePath()

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 StreamSendFileRequest Clone()

Returns

StreamSendFileRequest

Equals(StreamSendFileRequest)

public bool Equals(StreamSendFileRequest other)

Parameters

other StreamSendFileRequest

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

public void MergeFrom(StreamSendFileRequest other)

Parameters

other StreamSendFileRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream