Share via


AudioTrack.PreferredDevice Property

Definition

Returns the selected output specified by #setPreferredDevice.

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

Property Value

Implements

Attributes

Remarks

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

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