Share via


Equalizer.UsePreset(Int16) Method

Definition

Sets the equalizer according to the given preset.

[Android.Runtime.Register("usePreset", "(S)V", "GetUsePreset_SHandler")]
public virtual void UsePreset (short preset);
[<Android.Runtime.Register("usePreset", "(S)V", "GetUsePreset_SHandler")>]
abstract member UsePreset : int16 -> unit
override this.UsePreset : int16 -> unit

Parameters

preset
Int16

new preset that will be taken into use. The valid range is [0, number of presets-1].

Attributes

Exceptions

Remarks

Sets the equalizer according to the given preset.

Java documentation for android.media.audiofx.Equalizer.usePreset(short).

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

See also