Added in API level 9

OnParameterChangeListener


interface OnParameterChangeListener
android.media.audiofx.Equalizer.OnParameterChangeListener

The OnParameterChangeListener interface defines a method called by the Equalizer when a parameter value has changed.

Summary

Public methods
abstract Unit
onParameterChange(effect: Equalizer!, status: Int, param1: Int, param2: Int, value: Int)

Method called when a parameter value has changed.

Public methods

onParameterChange

Added in API level 9
abstract fun onParameterChange(
    effect: Equalizer!,
    status: Int,
    param1: Int,
    param2: Int,
    value: Int
): Unit

Method called when a parameter value has changed. The method is called only if the parameter was changed by another application having the control of the same Equalizer engine.

Parameters
effect Equalizer!: the Equalizer on which the interface is registered.
status Int: status of the set parameter operation.
param1 Int: ID of the modified parameter. See PARAM_BAND_LEVEL ...
param2 Int: additional parameter qualifier (e.g the band for band level parameter).
value Int: the new parameter value.