Android.Media.Audiofx.AudioEffect.ActionOpenAudioEffectControlSession Field
Intent to signal to the effect control application or service that a new audio session is opened and requires audio effects to be applied.

Syntax

[Android.Runtime.Register("ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION")]
public const string ActionOpenAudioEffectControlSession

Remarks

Intent to signal to the effect control application or service that a new audio session is opened and requires audio effects to be applied.

This is different from AudioEffect.ActionDisplayAudioEffectControlPanel in that no UI should be displayed in this case. Music player applications can broadcast this intent before starting playback to make sure that any audio effect settings previously selected by the user are applied.

The effect control application receiving this intent will look for previously stored settings for the calling application, create all required audio effects and apply the effect settings to the specified audio session.

The calling package name is indicated by the AudioEffect.ExtraPackageName extra and the audio session ID by the AudioEffect.ExtraAudioSession extra. Both extras are mandatory.

If no stored settings are found for the calling application, default settings for the content type indicated by AudioEffect.ExtraContentType will be applied. The default settings for a given content type are platform specific.

[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