Share via


AudioManager.ActionAudioBecomingNoisy Field

Definition

Broadcast intent, a hint for applications that audio is about to become 'noisy' due to a change in audio outputs.

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

Field Value

Attributes

Remarks

Broadcast intent, a hint for applications that audio is about to become 'noisy' due to a change in audio outputs. For example, this intent may be sent when a wired headset is unplugged, or when an A2DP audio sink is disconnected, and the audio system is about to automatically switch audio route to the speaker. Applications that are controlling audio streams may consider pausing, reducing volume or some other action on receipt of this intent so as not to surprise the user with audio from the speaker.

Java documentation for android.media.AudioManager.ACTION_AUDIO_BECOMING_NOISY.

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