Language

IAudioRouting.RoutedDevice Property

Definition

Returns an AudioDeviceInfo identifying the current routing of this AudioTrack/AudioRecord.

public Android.Media.AudioDeviceInfo? RoutedDevice { [Android.Runtime.Register("getRoutedDevice", "()Landroid/media/AudioDeviceInfo;", "GetGetRoutedDeviceHandler:Android.Media.IAudioRoutingInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRoutedDevice", "()Landroid/media/AudioDeviceInfo;", "GetGetRoutedDeviceHandler:Android.Media.IAudioRoutingInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
member this.RoutedDevice : Android.Media.AudioDeviceInfo

Property Value

Attributes

Remarks

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

Android reference for android.media.AudioRouting.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