共用方式為


AudioEffect.IOnEnableStatusChangeListener.OnEnableStatusChange Method

Definition

Called on the listener to notify it that the effect engine has been enabled or disabled.

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

Parameters

effect
AudioEffect

the effect on which the interface is registered.

enabled
Boolean

new effect state.

Attributes

Remarks

Called on the listener to notify it that the effect engine has been enabled or disabled.

Java documentation for android.media.audiofx.AudioEffect.OnEnableStatusChangeListener.onEnableStatusChange(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