Compartilhar via


AudioEffect.IOnControlStatusChangeListener.OnControlStatusChange Method

Definition

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

[Android.Runtime.Register("onControlStatusChange", "(Landroid/media/audiofx/AudioEffect;Z)V", "GetOnControlStatusChange_Landroid_media_audiofx_AudioEffect_ZHandler:Android.Media.Audiofx.AudioEffect/IOnControlStatusChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnControlStatusChange (Android.Media.Audiofx.AudioEffect? effect, bool controlGranted);
[<Android.Runtime.Register("onControlStatusChange", "(Landroid/media/audiofx/AudioEffect;Z)V", "GetOnControlStatusChange_Landroid_media_audiofx_AudioEffect_ZHandler:Android.Media.Audiofx.AudioEffect/IOnControlStatusChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnControlStatusChange : Android.Media.Audiofx.AudioEffect * bool -> unit

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.

Attributes

Remarks

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

Java documentation for android.media.audiofx.AudioEffect.OnControlStatusChangeListener.onControlStatusChange(android.media.audiofx.AudioEffect, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to