Class GetAudioDevicesRequest
Get available audio devices.
Returns lists of available recording (microphone) and playout (speaker) devices.
Platform Notes
- Desktop (Windows/macOS/Linux): Returns all available devices with names and GUIDs.
- Mobile (iOS/Android): Returns only one "default" device with empty name and GUID. Device enumeration is not meaningful on mobile - use for device count only.
public sealed class GetAudioDevicesRequest : Google.Protobuf.IMessage<GetAudioDevicesRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
GetAudioDevicesRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
GetAudioDevicesRequest()
public GetAudioDevicesRequest()
GetAudioDevicesRequest(GetAudioDevicesRequest)
public GetAudioDevicesRequest(GetAudioDevicesRequest other)
Parameters
otherGetAudioDevicesRequest
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<GetAudioDevicesRequest> Parser { get; }
Property Value
- MessageParser<GetAudioDevicesRequest>
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 GetAudioDevicesRequest Clone()
Returns
Equals(GetAudioDevicesRequest)
public bool Equals(GetAudioDevicesRequest other)
Parameters
otherGetAudioDevicesRequest
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(GetAudioDevicesRequest)
public void MergeFrom(GetAudioDevicesRequest other)
Parameters
otherGetAudioDevicesRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream