Share via


Equalizer.GetPresetName(Int16) Method

Definition

Gets the preset name based on the index.

[Android.Runtime.Register("getPresetName", "(S)Ljava/lang/String;", "GetGetPresetName_SHandler")]
public virtual string? GetPresetName (short preset);
[<Android.Runtime.Register("getPresetName", "(S)Ljava/lang/String;", "GetGetPresetName_SHandler")>]
abstract member GetPresetName : int16 -> string
override this.GetPresetName : int16 -> string

Parameters

preset
Int16

index of the preset. The valid range is [0, number of presets-1].

Returns

a string containing the name of the given preset.

Attributes

Exceptions

Remarks

Gets the preset name based on the index.

Java documentation for android.media.audiofx.Equalizer.getPresetName(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