Class PlatformAudioInfo
Information about a PlatformAudio instance.
public sealed class PlatformAudioInfo : Google.Protobuf.IMessage<PlatformAudioInfo>, Google.Protobuf.IBufferMessage
- Inheritance
-
PlatformAudioInfo
- Implements
-
IBufferMessage
- Extension Methods
Constructors
PlatformAudioInfo()
public PlatformAudioInfo()
PlatformAudioInfo(PlatformAudioInfo)
public PlatformAudioInfo(PlatformAudioInfo other)
Parameters
otherPlatformAudioInfo
Fields
PlayoutDeviceCountFieldNumber
Field number for the "playout_device_count" field.
public const int PlayoutDeviceCountFieldNumber = 2
Field Value
RecordingDeviceCountFieldNumber
Field number for the "recording_device_count" field.
public const int RecordingDeviceCountFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasPlayoutDeviceCount
Gets whether the "playout_device_count" field is set
public bool HasPlayoutDeviceCount { get; }
Property Value
HasRecordingDeviceCount
Gets whether the "recording_device_count" field is set
public bool HasRecordingDeviceCount { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<PlatformAudioInfo> Parser { get; }
Property Value
- MessageParser<PlatformAudioInfo>
PlayoutDeviceCount
Number of available playout (speaker) devices.
public int PlayoutDeviceCount { get; set; }
Property Value
RecordingDeviceCount
Number of available recording (microphone) devices.
public int RecordingDeviceCount { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearPlayoutDeviceCount()
Clears the value of the "playout_device_count" field
public void ClearPlayoutDeviceCount()
ClearRecordingDeviceCount()
Clears the value of the "recording_device_count" field
public void ClearRecordingDeviceCount()
Clone()
public PlatformAudioInfo Clone()
Returns
Equals(PlatformAudioInfo)
public bool Equals(PlatformAudioInfo other)
Parameters
otherPlatformAudioInfo
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(PlatformAudioInfo)
public void MergeFrom(PlatformAudioInfo other)
Parameters
otherPlatformAudioInfo
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream