Share via


AudioTrack.PerformanceMode Property

Definition

Returns the current performance mode of the AudioTrack.

public virtual Android.Media.AudioTrackPerformanceMode PerformanceMode { [Android.Runtime.Register("getPerformanceMode", "()I", "GetGetPerformanceModeHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getPerformanceMode", "()I", "GetGetPerformanceModeHandler", ApiSince=26)>]
member this.PerformanceMode : Android.Media.AudioTrackPerformanceMode

Property Value

one of AudioTrack#PERFORMANCE_MODE_NONE, AudioTrack#PERFORMANCE_MODE_LOW_LATENCY, or AudioTrack#PERFORMANCE_MODE_POWER_SAVING. Use AudioTrack.Builder#setPerformanceMode in the AudioTrack.Builder to enable a performance mode.

Attributes

Remarks

Returns the current performance mode of the AudioTrack.

Java documentation for android.media.AudioTrack.getPerformanceMode().

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