AudioTrack.Builder.SetPerformanceMode(AudioTrackPerformanceMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the AudioTrack performance mode.
[Android.Runtime.Register("setPerformanceMode", "(I)Landroid/media/AudioTrack$Builder;", "GetSetPerformanceMode_IHandler", ApiSince=26)]
public virtual Android.Media.AudioTrack.Builder SetPerformanceMode(Android.Media.AudioTrackPerformanceMode performanceMode);
[<Android.Runtime.Register("setPerformanceMode", "(I)Landroid/media/AudioTrack$Builder;", "GetSetPerformanceMode_IHandler", ApiSince=26)>]
abstract member SetPerformanceMode : Android.Media.AudioTrackPerformanceMode -> Android.Media.AudioTrack.Builder
override this.SetPerformanceMode : Android.Media.AudioTrackPerformanceMode -> Android.Media.AudioTrack.Builder
Parameters
- performanceMode
- AudioTrackPerformanceMode
one of AudioTrack.PERFORMANCE_MODE_NONE, AudioTrack.PERFORMANCE_MODE_LOW_LATENCY, or AudioTrack.PERFORMANCE_MODE_POWER_SAVING. Value is one of the following: AudioTrack.PERFORMANCE_MODE_NONE AudioTrack.PERFORMANCE_MODE_LOW_LATENCY AudioTrack.PERFORMANCE_MODE_POWER_SAVING
Returns
the same Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the AudioTrack performance mode. This is an advisory request which may not be supported by the particular device, and the framework is free to ignore such request if it is incompatible with other requests or hardware.
Android reference for android.media.AudioTrack.Builder.setPerformanceMode.
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.