The members of Android.Media.AudioManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | ActionAudioBecomingNoisy | string. Broadcast intent, a hint for applications that audio is about to become 'noisy' due to a change in audio outputs. |
const | ActionHdmiAudioPlug | string. 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 | ActionHeadsetPlug | string. Broadcast Action: Wired Headset plugged in or unplugged. |
const | ActionScoAudioStateChanged | string. Sticky broadcast intent action indicating that the bluetoooth SCO audio connection state has changed. |
const | ActionScoAudioStateUpdated | string. Sticky broadcast intent action indicating that the bluetoooth SCO audio connection state has been updated. |
const | AudiofocusGain | AudioFocus (1). Used to indicate a gain of audio focus, or a request of audio focus, of unknown duration. |
const | AudiofocusGainTransient | AudioFocus (2). Used to indicate a temporary gain or request of audio focus, anticipated to last a short amount of time. |
const | AudiofocusGainTransientExclusive | AudioFocus (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 | AudiofocusGainTransientMayDuck | AudioFocus (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 | AudiofocusLoss | AudioFocus (-1). Used to indicate a loss of audio focus of unknown duration. |
const | AudiofocusLossTransient | AudioFocus (-2). Used to indicate a transient loss of audio focus. |
const | AudiofocusLossTransientCanDuck | AudioFocus (-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 | AudiofocusRequestFailed | AudioFocusRequest (0). A failed focus change request. |
const | AudiofocusRequestGranted | AudioFocusRequest (1). A successful focus change request. |
const | AudioSessionIdGenerate | int (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 | Error | int (-1). A default error code. |
const | ErrorDeadObject | int (-6). An error code indicating that the object reporting it is no longer valid and needs to be recreated. |
const | ExtraAudioPlugState | string. Extra used in AudioManager.ActionHdmiAudioPlug to communicate whether HDMI is plugged in or unplugged. |
const | ExtraEncodings | string. Extra used in AudioManager.ActionHdmiAudioPlug to define the audio encodings supported by the connected HDMI device. |
const | ExtraMaxChannelCount | string. Extra used in AudioManager.ActionHdmiAudioPlug to define the maximum number of channels supported by the HDMI device. |
const | ExtraRingerMode | string. The new ringer mode. |
const | ExtraScoAudioPreviousState | string. Extra for intent AudioManager.ActionScoAudioStateUpdated containing the previous bluetooth SCO connection state. |
const | ExtraScoAudioState | string. Extra for intent AudioManager.ActionScoAudioStateChanged or AudioManager.ActionScoAudioStateUpdated containing the new bluetooth SCO connection state. |
const | ExtraVibrateSetting | string. The new vibrate setting for a particular type. |
const | ExtraVibrateType | string. The vibrate type whose setting has changed. |
const | NumStreams | int (5). |
const | PropertyOutputFramesPerBuffer | string. 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 | PropertyOutputSampleRate | string. 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 | RingerModeChangedAction | string. Sticky broadcast intent action indicating that the ringer mode has changed. |
const | ScoAudioStateConnected | ScoAudioState (1). Value for extra AudioManager.ExtraScoAudioState or AudioManager.ExtraScoAudioPreviousState indicating that the SCO audio channel is established |
const | ScoAudioStateConnecting | ScoAudioState (2). Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is being established |
const | ScoAudioStateDisconnected | ScoAudioState (0). Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is not established |
const | ScoAudioStateError | ScoAudioState (-1). Value for extra EXTRA_SCO_AUDIO_STATE indicating that there was an error trying to obtain the state |
const | UseDefaultStreamType | int (-2147483648). Suggests using the default stream type. |
const | VibrateSettingChangedAction | string. Broadcast intent action indicating that the vibrate setting has changed. |
BluetoothA2dpOn | bool. Checks whether A2DP audio routing to the Bluetooth headset is on or off. | |
BluetoothScoOn | bool. Checks whether communications use Bluetooth SCO. | |
[read-only] | IsBluetoothScoAvailableOffCall | bool. Indicates if current platform supports use of SCO for off call use cases. |
[read-only] | IsMusicActive | bool. Checks whether any music is active. |
[read-only] | IsVolumeFixed | bool. Indicates if the device implements a fixed volume policy. |
MicrophoneMute | bool. Checks whether the microphone mute is on or off. | |
Mode | Mode. Returns the current audio mode. | |
RingerMode | RingerMode. Returns the current ringtone mode. | |
SpeakerphoneOn | bool. Checks whether the speakerphone is on or off. | |
WiredHeadsetOn | bool. Checks whether a wired headset is connected or not. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AbandonAudioFocus(AudioManager.IOnAudioFocusChangeListener)Abandon audio focus. | ||
AdjustStreamVolume(Stream, Adjust, VolumeNotificationFlags)Adjusts the volume of a particular stream by one step in a direction. | ||
AdjustSuggestedStreamVolume(Adjust, Stream, VolumeNotificationFlags)Adjusts the volume of the most relevant stream, or the given fallback stream. | ||
AdjustVolume(Adjust, VolumeNotificationFlags)Adjusts the volume of the most relevant stream. | ||
DispatchMediaKeyEvent(Android.Views.KeyEvent)Sends a simulated key event for a media button. | ||
static | FromContext(Android.Content.Context)Documentation for this section has not yet been entered. | |
GenerateAudioSessionId()Return a new audio session identifier not associated with any player or effect. | ||
GetParameters(string)Gets a variable number of parameter values from audio hardware. | ||
GetProperty(string)Returns the value of the property with the specified key. | ||
GetRouting(Mode)Returns the current audio routing bit vector for a specified mode. | ||
GetStreamMaxVolume(Stream)Returns the maximum volume index for a particular stream. | ||
GetStreamVolume(Stream)Returns the current volume index for a particular stream. | ||
GetVibrateSetting(VibrateType)Returns whether the user's vibrate setting for a vibrate type. | ||
LoadSoundEffects()Load Sound effects. | ||
LoadSoundEffectsAsync()Documentation for this section has not yet been entered. | ||
PlaySoundEffect(SoundEffect)Plays a sound effect (Key clicks, lid open/close. | ||
PlaySoundEffect(SoundEffect, float)Plays a sound effect (Key clicks, lid open/close. | ||
RegisterMediaButtonEventReceiver(Android.App.PendingIntent)Register a component to be the sole receiver of MEDIA_BUTTON intents. | ||
RegisterMediaButtonEventReceiver(Android.Content.ComponentName)Register a component to be the sole receiver of MEDIA_BUTTON intents. | ||
RegisterRemoteControlClient(RemoteControlClient)Registers the remote control client for providing information to display on the remote controls. | ||
RegisterRemoteController(RemoteController)Registers a Android.Media.RemoteController instance for it to receive media metadata updates and playback state information from applications using Android.Media.RemoteControlClient, and control their playback. | ||
RequestAudioFocus(AudioManager.IOnAudioFocusChangeListener, Stream, AudioFocus)Request audio focus. | ||
SetParameters(string)Sets a variable number of parameter values to audio hardware. | ||
SetRouting(Mode, Route, Route)Sets the audio routing for a specified mode | ||
SetStreamMute(Stream, bool)Mute or unmute an audio stream. | ||
SetStreamSolo(Stream, bool)Solo or unsolo a particular stream. | ||
SetStreamVolume(Stream, int, VolumeNotificationFlags)Sets the volume index for a particular stream. | ||
SetVibrateSetting(VibrateType, VibrateSetting)Sets the setting for when the vibrate type should vibrate. | ||
ShouldVibrate(VibrateType)Returns whether a particular type should vibrate according to user settings and the current ringer mode. | ||
StartBluetoothSco()Start bluetooth SCO audio connection. | ||
StopBluetoothSco()Stop bluetooth SCO audio connection. | ||
UnloadSoundEffects()Unload Sound effects. | ||
UnregisterMediaButtonEventReceiver(Android.App.PendingIntent)Unregister the receiver of MEDIA_BUTTON intents. | ||
UnregisterMediaButtonEventReceiver(Android.Content.ComponentName)Unregister the receiver of MEDIA_BUTTON intents. | ||
UnregisterRemoteControlClient(RemoteControlClient)Unregisters the remote control client that was providing information to display on the remote controls. | ||
UnregisterRemoteController(RemoteController)Unregisters a Android.Media.RemoteController, causing it to no longer receive media metadata and playback state information, and no longer be capable of controlling playback. |