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 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.