共用方式為


AudioRecord.RoutedDevice Property

Definition

Returns an AudioDeviceInfo identifying the current routing of this AudioRecord.

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

Property Value

Implements

Attributes

Remarks

Returns an AudioDeviceInfo identifying the current routing of this AudioRecord. Note: The query is only valid if the AudioRecord is currently recording. If it is not, getRoutedDevice() will return null.

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