Android.Media.AudioManager: Field Members

The fields of Android.Media.AudioManager are listed below. For a list of all members, see the AudioManager Members list.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ActionAudioBecomingNoisystring. Broadcast intent, a hint for applications that audio is about to become 'noisy' due to a change in audio outputs.
const
ActionHdmiAudioPlugstring. Broadcast Action: A sticky broadcast indicating an HMDI cable was plugged or unplugged The intent will have the following extra values: AudioManager.ExtraAudioPlugState, AudioManager.ExtraMaxChannelCount, AudioManager.ExtraEncodings.
const
ActionHeadsetPlugstring. Broadcast Action: Wired Headset plugged in or unplugged.
const
ActionScoAudioStateChangedstring. Sticky broadcast intent action indicating that the bluetoooth SCO audio connection state has changed.
const
ActionScoAudioStateUpdatedstring. Sticky broadcast intent action indicating that the bluetoooth SCO audio connection state has been updated.
const
AudiofocusGainAudioFocus (1). Used to indicate a gain of audio focus, or a request of audio focus, of unknown duration.
const
AudiofocusGainTransientAudioFocus (2). Used to indicate a temporary gain or request of audio focus, anticipated to last a short amount of time.
const
AudiofocusGainTransientExclusiveAudioFocus (4). Used to indicate a temporary request of audio focus, anticipated to last a short amount of time, during which no other applications, or system components, should play anything.
const
AudiofocusGainTransientMayDuckAudioFocus (3). Used to indicate a temporary request of audio focus, anticipated to last a short amount of time, and where it is acceptable for other audio applications to keep playing after having lowered their output level (also referred to as "ducking").
const
AudiofocusLossAudioFocus (-1). Used to indicate a loss of audio focus of unknown duration.
const
AudiofocusLossTransientAudioFocus (-2). Used to indicate a transient loss of audio focus.
const
AudiofocusLossTransientCanDuckAudioFocus (-3). Used to indicate a transient loss of audio focus where the loser of the audio focus can lower its output volume if it wants to continue playing (also referred to as "ducking"), as the new focus owner doesn't require others to be silent.
const
AudiofocusRequestFailedAudioFocusRequest (0). A failed focus change request.
const
AudiofocusRequestGrantedAudioFocusRequest (1). A successful focus change request.
const
AudioSessionIdGenerateint (0). A special audio session ID to indicate that the audio session ID isn't known and the framework should generate a new value.
const
Errorint (-1). A default error code.
const
ErrorDeadObjectint (-6). An error code indicating that the object reporting it is no longer valid and needs to be recreated.
const
ExtraAudioPlugStatestring. Extra used in AudioManager.ActionHdmiAudioPlug to communicate whether HDMI is plugged in or unplugged.
const
ExtraEncodingsstring. Extra used in AudioManager.ActionHdmiAudioPlug to define the audio encodings supported by the connected HDMI device.
const
ExtraMaxChannelCountstring. Extra used in AudioManager.ActionHdmiAudioPlug to define the maximum number of channels supported by the HDMI device.
const
ExtraRingerModestring. The new ringer mode.
const
ExtraScoAudioPreviousStatestring. Extra for intent AudioManager.ActionScoAudioStateUpdated containing the previous bluetooth SCO connection state.
const
ExtraScoAudioStatestring. Extra for intent AudioManager.ActionScoAudioStateChanged or AudioManager.ActionScoAudioStateUpdated containing the new bluetooth SCO connection state.
const
ExtraVibrateSettingstring. The new vibrate setting for a particular type.
const
ExtraVibrateTypestring. The vibrate type whose setting has changed.
const
NumStreamsint (5).
const
PropertyOutputFramesPerBufferstring. Used as a key for AudioManager.GetProperty(string) to request the native or optimal output buffer size for this device's primary output stream, in decimal PCM frames.
const
PropertyOutputSampleRatestring. Used as a key for AudioManager.GetProperty(string) to request the native or optimal output sample rate for this device's primary output stream, in decimal Hz.
const
RingerModeChangedActionstring. Sticky broadcast intent action indicating that the ringer mode has changed.
const
ScoAudioStateConnectedScoAudioState (1). Value for extra AudioManager.ExtraScoAudioState or AudioManager.ExtraScoAudioPreviousState indicating that the SCO audio channel is established
const
ScoAudioStateConnectingScoAudioState (2). Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is being established
const
ScoAudioStateDisconnectedScoAudioState (0). Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is not established
const
ScoAudioStateErrorScoAudioState (-1). Value for extra EXTRA_SCO_AUDIO_STATE indicating that there was an error trying to obtain the state
const
UseDefaultStreamTypeint (-2147483648). Suggests using the default stream type.
const
VibrateSettingChangedActionstring. Broadcast intent action indicating that the vibrate setting has changed.