Compartir a través de


AudioRecord.ActiveMicrophones Property

Definition

Returns a lists of MicrophoneInfo representing the active microphones.

public virtual System.Collections.Generic.IList<Android.Media.MicrophoneInfo>? ActiveMicrophones { [Android.Runtime.Register("getActiveMicrophones", "()Ljava/util/List;", "GetGetActiveMicrophonesHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getActiveMicrophones", "()Ljava/util/List;", "GetGetActiveMicrophonesHandler", ApiSince=28)>]
member this.ActiveMicrophones : System.Collections.Generic.IList<Android.Media.MicrophoneInfo>

Property Value

a lists of MicrophoneInfo representing the active microphones.

Attributes

Remarks

Returns a lists of MicrophoneInfo representing the active microphones. By querying channel mapping for each active microphone, developer can know how the microphone is used by each channels or a capture stream. Note that the information about the active microphones may change during a recording. See AudioManager#registerAudioDeviceCallback to be notified of changes in the audio devices, querying the active microphones then will return the latest information.

Java documentation for android.media.AudioRecord.getActiveMicrophones().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to