Class StopRecordingRequest
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
otherStopRecordingRequest
Fields
PlatformAudioHandleFieldNumber
Field number for the "platform_audio_handle" field.
public const int PlatformAudioHandleFieldNumber = 1
Field Value
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
Parser
public static Google.Protobuf.MessageParser<StopRecordingRequest> Parser { get; }
Property Value
- MessageParser<StopRecordingRequest>
PlatformAudioHandle
The PlatformAudio handle.
public ulong PlatformAudioHandle { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearPlatformAudioHandle()
Clears the value of the "platform_audio_handle" field
public void ClearPlatformAudioHandle()
Clone()
public StopRecordingRequest Clone()
Returns
Equals(StopRecordingRequest)
public bool Equals(StopRecordingRequest other)
Parameters
otherStopRecordingRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(StopRecordingRequest)
public void MergeFrom(StopRecordingRequest other)
Parameters
otherStopRecordingRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream