Android.Media.AudioManager: Method Members

The methods 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 Methods

AbandonAudioFocus(AudioManager.IOnAudioFocusChangeListener) : AudioFocusRequest
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) : AudioManager
Documentation for this section has not yet been entered.
GenerateAudioSessionId() : int
Return a new audio session identifier not associated with any player or effect.
GetParameters(string) : string
Gets a variable number of parameter values from audio hardware.
GetProperty(string) : string
Returns the value of the property with the specified key.
GetRouting(Mode) : Route
Returns the current audio routing bit vector for a specified mode.
GetStreamMaxVolume(Stream) : int
Returns the maximum volume index for a particular stream.
GetStreamVolume(Stream) : int
Returns the current volume index for a particular stream.
GetVibrateSetting(VibrateType) : VibrateSetting
Returns whether the user's vibrate setting for a vibrate type.
LoadSoundEffects()
Load Sound effects.
LoadSoundEffectsAsync() : System.Threading.Tasks.Task
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) : bool
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) : AudioFocusRequest
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) : bool
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.