Adjusts the volume of the most relevant stream. For example, if a call is
active, it will have the highest priority regardless of if the in-call
screen is showing. Another example, if music is playing in the background
and a call is not active, the music stream will be adjusted.
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.
Extra used in {@link #ACTION_HDMI_AUDIO_PLUG} to communicate whether HDMI is plugged in
or unplugged.
An integer value of 1 indicates a plugged-in state, 0 is unplugged.
Extra used in {@link #ACTION_HDMI_AUDIO_PLUG} to define the audio encodings supported by
the connected HDMI device.
The corresponding array of encoding values is only available when the device is plugged in
(as expressed by {@link #EXTRA_AUDIO_PLUG_STATE}). Encoding values are defined in
{@link AudioFormat} (for instance see {@link AudioFormat#ENCODING_PCM_16BIT}). Use
{@link android.content.Intent#getIntArrayExtra(String)} to retrieve the encoding values.
Extra used in {@link #ACTION_HDMI_AUDIO_PLUG} to define the maximum number of channels
supported by the HDMI device.
The corresponding integer value is only available when the device is plugged in (as expressed
by {@link #EXTRA_AUDIO_PLUG_STATE}).
@hide
The stream type alias for the volume changed intent.
For instance the intent may indicate a change of the {@link #STREAM_NOTIFICATION} stream
type (as indicated by the {@link #EXTRA_VOLUME_STREAM_TYPE} extra), but this is also
reflected by a change of the volume of its alias, {@link #STREAM_RING} on some devices,
{@link #STREAM_MUSIC} on others (e.g. a television).
Whether to include ringer modes as possible options when changing volume.
For example, if true and volume level is 0 and the volume is adjusted
with {@link #ADJUST_LOWER}, then the ringer mode may switch the silent or
vibrate mode.
Ringer mode that may be audible and may vibrate. It will be audible if
the volume before changing out of this mode was audible. It will vibrate
if the vibrate setting is on.
Ringer mode that will be silent and will vibrate. (This will cause the
phone ringer to always vibrate, but the notification vibrate to only
vibrate if set.)