Share via


AudioEffect.ActionCloseAudioEffectControlSession Field

Definition

Intent to signal to the effect control application or service that an audio session is closed and that effects should not be applied anymore.

[Android.Runtime.Register("ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION")]
public const string ActionCloseAudioEffectControlSession;
[<Android.Runtime.Register("ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION")>]
val mutable ActionCloseAudioEffectControlSession : string

Field Value

Attributes

Remarks

Intent to signal to the effect control application or service that an audio session is closed and that effects should not be applied anymore.

The effect control application receiving this intent will delete all effects on this session and store current settings in package specific storage.

The calling package name is indicated by the #EXTRA_PACKAGE_NAME extra and the audio session ID by the #EXTRA_AUDIO_SESSION extra. Both extras are mandatory.

It is good practice for applications to broadcast this intent when music playback stops and/or when exiting to free system resources consumed by audio effect engines.

Java documentation for android.media.audiofx.AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION.

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