Table of Contents

Class StartRecordingRequest

Namespace
LiveKit.Proto

Start recording from the microphone.

Recording is started automatically when PlatformAudio is created. Use this to resume recording after calling StopRecording. This also turns on the system's recording privacy indicator.

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

Constructors

StartRecordingRequest()

public StartRecordingRequest()

StartRecordingRequest(StartRecordingRequest)

public StartRecordingRequest(StartRecordingRequest other)

Parameters

other StartRecordingRequest

Fields

PlatformAudioHandleFieldNumber

Field number for the "platform_audio_handle" field.

public const int PlatformAudioHandleFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasPlatformAudioHandle

Gets whether the "platform_audio_handle" field is set

public bool HasPlatformAudioHandle { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<StartRecordingRequest>

PlatformAudioHandle

The PlatformAudio handle.

public ulong PlatformAudioHandle { get; set; }

Property Value

ulong

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearPlatformAudioHandle()

Clears the value of the "platform_audio_handle" field

public void ClearPlatformAudioHandle()

Clone()

public StartRecordingRequest Clone()

Returns

StartRecordingRequest

Equals(StartRecordingRequest)

public bool Equals(StartRecordingRequest other)

Parameters

other StartRecordingRequest

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

public void MergeFrom(StartRecordingRequest other)

Parameters

other StartRecordingRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream