MediaPlayer.RoutedDevices Property

Definition

Returns a List of AudioDeviceInfo identifying the current routing of this MediaPlayer.

public virtual System.Collections.Generic.IList<Android.Media.AudioDeviceInfo> RoutedDevices { [Android.Runtime.Register("getRoutedDevices", "()Ljava/util/List;", "GetGetRoutedDevicesHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getRoutedDevices", "()Ljava/util/List;", "GetGetRoutedDevicesHandler", ApiSince=36)>]
member this.RoutedDevices : System.Collections.Generic.IList<Android.Media.AudioDeviceInfo>

Property Value

Implements

Attributes

Remarks

Returns a List of AudioDeviceInfo identifying the current routing of this MediaPlayer. Note: The query is only valid if the MediaPlayer is currently playing. If the player is not playing, the returned devices can be empty or correspond to previously selected devices when the player was last active.

Java documentation for android.media.MediaPlayer.getRoutedDevices().

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