Android.Media.Audiofx.AudioEffect.SetEnabled Method
Enable or disable the effect.

Syntax

[Android.Runtime.Register("setEnabled", "(Z)I", "GetSetEnabled_ZHandler")]
[return:Android.Runtime.GeneratedEnum]
public virtual AudioEffectStatus SetEnabled (bool enabled)

Parameters

enabled
the requested enable state

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateException

Remarks

Enable or disable the effect. Creating an audio effect does not automatically apply this effect on the audio source. It creates the resources necessary to process this effect but the audio signal is still bypassed through the effect engine. Calling this method will make that the effect is actually applied or not to the audio content being played in the corresponding audio session.

[Android Documentation]

Requirements

Namespace: Android.Media.Audiofx
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9