Udostępnij za pośrednictwem


AudioManager.Microphones Property

Definition

Returns a list of MicrophoneInfo that corresponds to the characteristics of all available microphones.

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

Property Value

a list that contains all microphones' characteristics

Attributes

Remarks

Returns a list of MicrophoneInfo that corresponds to the characteristics of all available microphones. The list is empty when no microphones are available on the device. An error during the query will result in an IOException being thrown.

Java documentation for android.media.AudioManager.getMicrophones().

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