AudioRecord.PreferredDevice Property

Definition

Returns the selected input specified by #setPreferredDevice.

public virtual Android.Media.AudioDeviceInfo? PreferredDevice { [Android.Runtime.Register("getPreferredDevice", "()Landroid/media/AudioDeviceInfo;", "GetGetPreferredDeviceHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getPreferredDevice", "()Landroid/media/AudioDeviceInfo;", "GetGetPreferredDeviceHandler", ApiSince=23)>]
member this.PreferredDevice : Android.Media.AudioDeviceInfo

Property Value

Implements

Attributes

Remarks

Returns the selected input specified by #setPreferredDevice. Note that this is not guarenteed to correspond to the actual device being used for recording.

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

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