Added in API level 9

OnEnableStatusChangeListener


interface OnEnableStatusChangeListener
android.media.audiofx.AudioEffect.OnEnableStatusChangeListener

The OnEnableStatusChangeListener interface defines a method called by the AudioEffect when the enabled state of the effect engine was changed by the controlling application.

Summary

Public methods
abstract Unit

Called on the listener to notify it that the effect engine has been enabled or disabled.

Public methods

onEnableStatusChange

Added in API level 9
abstract fun onEnableStatusChange(
    effect: AudioEffect!,
    enabled: Boolean
): Unit

Called on the listener to notify it that the effect engine has been enabled or disabled.

Parameters
effect AudioEffect!: the effect on which the interface is registered.
enabled Boolean: new effect state.