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