Android.Media.Audiofx.Equalizer.UsePreset Method
Sets the equalizer according to the given preset.

Syntax

[Android.Runtime.Register("usePreset", "(S)V", "GetUsePreset_SHandler")]
public virtual void UsePreset (short preset)

See Also

Equalizer.NumberOfPresets

Parameters

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

Exceptions

TypeReason
!:NoType:IllegalStateException
!:NoType:IllegalArgumentException
!:NoType:UnsupportedOperationException
Java.Lang.IllegalStateException
Java.Lang.IllegalArgumentException
Java.Lang.UnsupportedOperationException

Remarks

Sets the equalizer according to the given preset.

[Android Documentation]

Requirements

Namespace: Android.Media.Audiofx
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9