public static interface AudioEffect.OnControlStatusChangeListener
| android.media.audiofx.AudioEffect.OnControlStatusChangeListener |
OnControlStatusChangeListener接口定义了当效果引擎的控件被应用程序获取或丢失时由AudioEffect调用的方法
公共方法(Public methods) |
|
|---|---|
abstract void |
onControlStatusChange(AudioEffect effect, boolean controlGranted) 在侦听器上调用以通知它效果引擎控件已被采用或返回。 |
void onControlStatusChange (AudioEffect effect, boolean controlGranted)
在侦听器上调用以通知它效果引擎控件已被采用或返回。
| 参数(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. |