Class StartRecordingRequest
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
otherStartRecordingRequest
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<StartRecordingRequest> Parser { get; }
Property Value
- MessageParser<StartRecordingRequest>
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 StartRecordingRequest Clone()
Returns
Equals(StartRecordingRequest)
public bool Equals(StartRecordingRequest other)
Parameters
otherStartRecordingRequest
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(StartRecordingRequest)
public void MergeFrom(StartRecordingRequest other)
Parameters
otherStartRecordingRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream