Added in API level 9

OnParameterChangeListener

interface OnParameterChangeListener
android.media.audiofx.BassBoost.OnParameterChangeListener

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

Summary

Public methods
abstract Unit
onParameterChange(effect: BassBoost!, status: Int, param: Int, value: Short)

Method called when a parameter value has changed.

Public methods

onParameterChange

Added in API level 9
abstract fun onParameterChange(
    effect: BassBoost!,
    status: Int,
    param: Int,
    value: Short
): 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 BassBoost engine.

Parameters
effect BassBoost!: the BassBoost on which the interface is registered.
status Int: status of the set parameter operation.
param Int: ID of the modified parameter. See PARAM_STRENGTH ...
value Short: the new parameter value.