Table of Contents

Class StopRecordingRequest

Namespace
LiveKit.Proto

Stop recording from the microphone.

Use this to temporarily stop recording without disposing PlatformAudio. This will turn off the system's recording privacy indicator (e.g., on macOS/iOS). Call StartRecording to resume recording.

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

Constructors

StopRecordingRequest()

public StopRecordingRequest()

StopRecordingRequest(StopRecordingRequest)

public StopRecordingRequest(StopRecordingRequest other)

Parameters

other StopRecordingRequest

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<StopRecordingRequest> Parser { get; }

Property Value

MessageParser<StopRecordingRequest>

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

Returns

StopRecordingRequest

Equals(StopRecordingRequest)

public bool Equals(StopRecordingRequest other)

Parameters

other StopRecordingRequest

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

public void MergeFrom(StopRecordingRequest other)

Parameters

other StopRecordingRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream