Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 9

AudioEffect.OnControlStatusChangeListener

public static interface AudioEffect.OnControlStatusChangeListener

android.media.audiofx.AudioEffect.OnControlStatusChangeListener


The OnControlStatusChangeListener interface defines a method called by the AudioEffect when a the control of the effect engine is gained or lost by the application

Summary

Public methods

abstract void onControlStatusChange(AudioEffect effect, boolean controlGranted)

Called on the listener to notify it that the effect engine control has been taken or returned.

Public methods

onControlStatusChange

added in API level 9
public abstract void onControlStatusChange (AudioEffect effect, 
                boolean controlGranted)

Called on the listener to notify it that the effect engine control has been taken or returned.

Parameters
effect AudioEffect: the effect on which the interface is registered.

controlGranted boolean: true if the application has been granted control of the effect engine, false otherwise.