다음을 통해 공유


MediaRecorder.RoutedDevice Property

Definition

Returns an AudioDeviceInfo identifying the current routing of this MediaRecorder Note: The query is only valid if the MediaRecorder is currently recording.

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

Property Value

Implements

Attributes

Remarks

Returns an AudioDeviceInfo identifying the current routing of this MediaRecorder Note: The query is only valid if the MediaRecorder is currently recording. If the recorder is not recording, the returned device can be null or correspond to previously selected device when the recorder was last active.

Java documentation for android.media.MediaRecorder.getRoutedDevice().

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