Aracılığıyla paylaş


MediaRecorder.PreferredDevice Property

Definition

Returns the selected input device specified by #setPreferredDevice.

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

Property Value

Implements

Attributes

Remarks

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

Java documentation for android.media.MediaRecorder.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