Table of Contents

Class AudioManager

Namespace
Android.Media
Assembly
MASES.Netdroid.dll
public class AudioManager : JVMBridgeBase<AudioManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AudioManager>
AudioManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AudioManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AudioManager>.IsAssignableFrom<T>()
JVMBridgeBase<AudioManager>.Execute<T>(params T[])
JVMBridgeBase<AudioManager>.DynBridgeClazz
JVMBridgeBase<AudioManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AudioManager()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public AudioManager()

AudioManager(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public AudioManager(params object[] args)

Parameters

args object[]

Properties

ACTION_AUDIO_BECOMING_NOISY

public static String ACTION_AUDIO_BECOMING_NOISY { get; }

Property Value

String

ACTION_HDMI_AUDIO_PLUG

public static String ACTION_HDMI_AUDIO_PLUG { get; }

Property Value

String

ACTION_HEADSET_PLUG

public static String ACTION_HEADSET_PLUG { get; }

Property Value

String

ACTION_MICROPHONE_MUTE_CHANGED

public static String ACTION_MICROPHONE_MUTE_CHANGED { get; }

Property Value

String

ACTION_SCO_AUDIO_STATE_CHANGED

[Obsolete]
public static String ACTION_SCO_AUDIO_STATE_CHANGED { get; }

Property Value

String

ACTION_SCO_AUDIO_STATE_UPDATED

public static String ACTION_SCO_AUDIO_STATE_UPDATED { get; }

Property Value

String

ACTION_SPEAKERPHONE_STATE_CHANGED

public static String ACTION_SPEAKERPHONE_STATE_CHANGED { get; }

Property Value

String

ADJUST_LOWER

public static int ADJUST_LOWER { get; }

Property Value

int

ADJUST_MUTE

public static int ADJUST_MUTE { get; }

Property Value

int

ADJUST_RAISE

public static int ADJUST_RAISE { get; }

Property Value

int

ADJUST_SAME

public static int ADJUST_SAME { get; }

Property Value

int

ADJUST_TOGGLE_MUTE

public static int ADJUST_TOGGLE_MUTE { get; }

Property Value

int

ADJUST_UNMUTE

public static int ADJUST_UNMUTE { get; }

Property Value

int

AUDIOFOCUS_GAIN

public static int AUDIOFOCUS_GAIN { get; }

Property Value

int

AUDIOFOCUS_GAIN_TRANSIENT

public static int AUDIOFOCUS_GAIN_TRANSIENT { get; }

Property Value

int

AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE

public static int AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE { get; }

Property Value

int

AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK

public static int AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK { get; }

Property Value

int

AUDIOFOCUS_LOSS

public static int AUDIOFOCUS_LOSS { get; }

Property Value

int

AUDIOFOCUS_LOSS_TRANSIENT

public static int AUDIOFOCUS_LOSS_TRANSIENT { get; }

Property Value

int

AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK

public static int AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK { get; }

Property Value

int

AUDIOFOCUS_NONE

public static int AUDIOFOCUS_NONE { get; }

Property Value

int

AUDIOFOCUS_REQUEST_DELAYED

public static int AUDIOFOCUS_REQUEST_DELAYED { get; }

Property Value

int

AUDIOFOCUS_REQUEST_FAILED

public static int AUDIOFOCUS_REQUEST_FAILED { get; }

Property Value

int

AUDIOFOCUS_REQUEST_GRANTED

public static int AUDIOFOCUS_REQUEST_GRANTED { get; }

Property Value

int

AUDIO_SESSION_ID_GENERATE

public static int AUDIO_SESSION_ID_GENERATE { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DIRECT_PLAYBACK_BITSTREAM_SUPPORTED

public static int DIRECT_PLAYBACK_BITSTREAM_SUPPORTED { get; }

Property Value

int

DIRECT_PLAYBACK_NOT_SUPPORTED

public static int DIRECT_PLAYBACK_NOT_SUPPORTED { get; }

Property Value

int

DIRECT_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED

public static int DIRECT_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED { get; }

Property Value

int

DIRECT_PLAYBACK_OFFLOAD_SUPPORTED

public static int DIRECT_PLAYBACK_OFFLOAD_SUPPORTED { get; }

Property Value

int

ENCODED_SURROUND_OUTPUT_ALWAYS

public static int ENCODED_SURROUND_OUTPUT_ALWAYS { get; }

Property Value

int

ENCODED_SURROUND_OUTPUT_AUTO

public static int ENCODED_SURROUND_OUTPUT_AUTO { get; }

Property Value

int

ENCODED_SURROUND_OUTPUT_MANUAL

public static int ENCODED_SURROUND_OUTPUT_MANUAL { get; }

Property Value

int

ENCODED_SURROUND_OUTPUT_NEVER

public static int ENCODED_SURROUND_OUTPUT_NEVER { get; }

Property Value

int

ENCODED_SURROUND_OUTPUT_UNKNOWN

public static int ENCODED_SURROUND_OUTPUT_UNKNOWN { get; }

Property Value

int

ERROR

public static int ERROR { get; }

Property Value

int

ERROR_DEAD_OBJECT

public static int ERROR_DEAD_OBJECT { get; }

Property Value

int

EXTRA_AUDIO_PLUG_STATE

public static String EXTRA_AUDIO_PLUG_STATE { get; }

Property Value

String

EXTRA_ENCODINGS

public static String EXTRA_ENCODINGS { get; }

Property Value

String

EXTRA_MAX_CHANNEL_COUNT

public static String EXTRA_MAX_CHANNEL_COUNT { get; }

Property Value

String

EXTRA_RINGER_MODE

public static String EXTRA_RINGER_MODE { get; }

Property Value

String

EXTRA_SCO_AUDIO_PREVIOUS_STATE

public static String EXTRA_SCO_AUDIO_PREVIOUS_STATE { get; }

Property Value

String

EXTRA_SCO_AUDIO_STATE

public static String EXTRA_SCO_AUDIO_STATE { get; }

Property Value

String

EXTRA_VIBRATE_SETTING

[Obsolete]
public static String EXTRA_VIBRATE_SETTING { get; }

Property Value

String

EXTRA_VIBRATE_TYPE

[Obsolete]
public static String EXTRA_VIBRATE_TYPE { get; }

Property Value

String

FLAG_ALLOW_RINGER_MODES

public static int FLAG_ALLOW_RINGER_MODES { get; }

Property Value

int

FLAG_PLAY_SOUND

public static int FLAG_PLAY_SOUND { get; }

Property Value

int

FLAG_REMOVE_SOUND_AND_VIBRATE

public static int FLAG_REMOVE_SOUND_AND_VIBRATE { get; }

Property Value

int

FLAG_SHOW_UI

public static int FLAG_SHOW_UI { get; }

Property Value

int

FLAG_VIBRATE

public static int FLAG_VIBRATE { get; }

Property Value

int

FX_BACK

public static int FX_BACK { get; }

Property Value

int

FX_FOCUS_NAVIGATION_DOWN

public static int FX_FOCUS_NAVIGATION_DOWN { get; }

Property Value

int

FX_FOCUS_NAVIGATION_LEFT

public static int FX_FOCUS_NAVIGATION_LEFT { get; }

Property Value

int

FX_FOCUS_NAVIGATION_RIGHT

public static int FX_FOCUS_NAVIGATION_RIGHT { get; }

Property Value

int

FX_FOCUS_NAVIGATION_UP

public static int FX_FOCUS_NAVIGATION_UP { get; }

Property Value

int

FX_KEYPRESS_DELETE

public static int FX_KEYPRESS_DELETE { get; }

Property Value

int

FX_KEYPRESS_INVALID

public static int FX_KEYPRESS_INVALID { get; }

Property Value

int

FX_KEYPRESS_RETURN

public static int FX_KEYPRESS_RETURN { get; }

Property Value

int

FX_KEYPRESS_SPACEBAR

public static int FX_KEYPRESS_SPACEBAR { get; }

Property Value

int

FX_KEYPRESS_STANDARD

public static int FX_KEYPRESS_STANDARD { get; }

Property Value

int

FX_KEY_CLICK

public static int FX_KEY_CLICK { get; }

Property Value

int

GET_DEVICES_ALL

public static int GET_DEVICES_ALL { get; }

Property Value

int

GET_DEVICES_INPUTS

public static int GET_DEVICES_INPUTS { get; }

Property Value

int

GET_DEVICES_OUTPUTS

public static int GET_DEVICES_OUTPUTS { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MODE_CALL_REDIRECT

public static int MODE_CALL_REDIRECT { get; }

Property Value

int

MODE_CALL_SCREENING

public static int MODE_CALL_SCREENING { get; }

Property Value

int

MODE_COMMUNICATION_REDIRECT

public static int MODE_COMMUNICATION_REDIRECT { get; }

Property Value

int

MODE_CURRENT

public static int MODE_CURRENT { get; }

Property Value

int

MODE_INVALID

public static int MODE_INVALID { get; }

Property Value

int

MODE_IN_CALL

public static int MODE_IN_CALL { get; }

Property Value

int

MODE_IN_COMMUNICATION

public static int MODE_IN_COMMUNICATION { get; }

Property Value

int

MODE_NORMAL

public static int MODE_NORMAL { get; }

Property Value

int

MODE_RINGTONE

public static int MODE_RINGTONE { get; }

Property Value

int

NUM_STREAMS

[Obsolete]
public static int NUM_STREAMS { get; }

Property Value

int

PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED

public static int PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED { get; }

Property Value

int

PLAYBACK_OFFLOAD_NOT_SUPPORTED

public static int PLAYBACK_OFFLOAD_NOT_SUPPORTED { get; }

Property Value

int

PLAYBACK_OFFLOAD_SUPPORTED

public static int PLAYBACK_OFFLOAD_SUPPORTED { get; }

Property Value

int

PROPERTY_OUTPUT_FRAMES_PER_BUFFER

public static String PROPERTY_OUTPUT_FRAMES_PER_BUFFER { get; }

Property Value

String

PROPERTY_OUTPUT_SAMPLE_RATE

public static String PROPERTY_OUTPUT_SAMPLE_RATE { get; }

Property Value

String

PROPERTY_SUPPORT_AUDIO_SOURCE_UNPROCESSED

public static String PROPERTY_SUPPORT_AUDIO_SOURCE_UNPROCESSED { get; }

Property Value

String

PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND

public static String PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND { get; }

Property Value

String

PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND

public static String PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND { get; }

Property Value

String

RINGER_MODE_CHANGED_ACTION

public static String RINGER_MODE_CHANGED_ACTION { get; }

Property Value

String

RINGER_MODE_NORMAL

public static int RINGER_MODE_NORMAL { get; }

Property Value

int

RINGER_MODE_SILENT

public static int RINGER_MODE_SILENT { get; }

Property Value

int

RINGER_MODE_VIBRATE

public static int RINGER_MODE_VIBRATE { get; }

Property Value

int

ROUTE_ALL

[Obsolete]
public static int ROUTE_ALL { get; }

Property Value

int

ROUTE_BLUETOOTH

[Obsolete]
public static int ROUTE_BLUETOOTH { get; }

Property Value

int

ROUTE_BLUETOOTH_A2DP

[Obsolete]
public static int ROUTE_BLUETOOTH_A2DP { get; }

Property Value

int

ROUTE_BLUETOOTH_SCO

[Obsolete]
public static int ROUTE_BLUETOOTH_SCO { get; }

Property Value

int

ROUTE_EARPIECE

[Obsolete]
public static int ROUTE_EARPIECE { get; }

Property Value

int

ROUTE_HEADSET

[Obsolete]
public static int ROUTE_HEADSET { get; }

Property Value

int

ROUTE_SPEAKER

[Obsolete]
public static int ROUTE_SPEAKER { get; }

Property Value

int

SCO_AUDIO_STATE_CONNECTED

public static int SCO_AUDIO_STATE_CONNECTED { get; }

Property Value

int

SCO_AUDIO_STATE_CONNECTING

public static int SCO_AUDIO_STATE_CONNECTING { get; }

Property Value

int

SCO_AUDIO_STATE_DISCONNECTED

public static int SCO_AUDIO_STATE_DISCONNECTED { get; }

Property Value

int

SCO_AUDIO_STATE_ERROR

public static int SCO_AUDIO_STATE_ERROR { get; }

Property Value

int

STREAM_ACCESSIBILITY

public static int STREAM_ACCESSIBILITY { get; }

Property Value

int

STREAM_ALARM

public static int STREAM_ALARM { get; }

Property Value

int

STREAM_DTMF

public static int STREAM_DTMF { get; }

Property Value

int

STREAM_MUSIC

public static int STREAM_MUSIC { get; }

Property Value

int

STREAM_NOTIFICATION

public static int STREAM_NOTIFICATION { get; }

Property Value

int

STREAM_RING

public static int STREAM_RING { get; }

Property Value

int

STREAM_SYSTEM

public static int STREAM_SYSTEM { get; }

Property Value

int

STREAM_VOICE_CALL

public static int STREAM_VOICE_CALL { get; }

Property Value

int

USE_DEFAULT_STREAM_TYPE

public static int USE_DEFAULT_STREAM_TYPE { get; }

Property Value

int

VIBRATE_SETTING_CHANGED_ACTION

[Obsolete]
public static String VIBRATE_SETTING_CHANGED_ACTION { get; }

Property Value

String

VIBRATE_SETTING_OFF

[Obsolete]
public static int VIBRATE_SETTING_OFF { get; }

Property Value

int

VIBRATE_SETTING_ON

[Obsolete]
public static int VIBRATE_SETTING_ON { get; }

Property Value

int

VIBRATE_SETTING_ONLY_SILENT

[Obsolete]
public static int VIBRATE_SETTING_ONLY_SILENT { get; }

Property Value

int

VIBRATE_TYPE_NOTIFICATION

[Obsolete]
public static int VIBRATE_TYPE_NOTIFICATION { get; }

Property Value

int

VIBRATE_TYPE_RINGER

[Obsolete]
public static int VIBRATE_TYPE_RINGER { get; }

Property Value

int

Methods

AbandonAudioFocus(OnAudioFocusChangeListener)

[Obsolete]
public int AbandonAudioFocus(AudioManager.OnAudioFocusChangeListener arg0)

Parameters

arg0 AudioManager.OnAudioFocusChangeListener

AudioManager.OnAudioFocusChangeListener

Returns

int

int

AbandonAudioFocusRequest(AudioFocusRequest)

public int AbandonAudioFocusRequest(AudioFocusRequest arg0)

Parameters

arg0 AudioFocusRequest

AudioFocusRequest

Returns

int

int

AddOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener)

public void AddOnCommunicationDeviceChangedListener(Executor arg0, AudioManager.OnCommunicationDeviceChangedListener arg1)

Parameters

arg0 Executor

Executor

arg1 AudioManager.OnCommunicationDeviceChangedListener

AudioManager.OnCommunicationDeviceChangedListener

AddOnModeChangedListener(Executor, OnModeChangedListener)

public void AddOnModeChangedListener(Executor arg0, AudioManager.OnModeChangedListener arg1)

Parameters

arg0 Executor

Executor

arg1 AudioManager.OnModeChangedListener

AudioManager.OnModeChangedListener

AddOnPreferredMixerAttributesChangedListener(Executor, OnPreferredMixerAttributesChangedListener)

public void AddOnPreferredMixerAttributesChangedListener(Executor arg0, AudioManager.OnPreferredMixerAttributesChangedListener arg1)

Parameters

arg0 Executor

Executor

arg1 AudioManager.OnPreferredMixerAttributesChangedListener

AudioManager.OnPreferredMixerAttributesChangedListener

AdjustStreamVolume(int, int, int)

public void AdjustStreamVolume(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

AdjustSuggestedStreamVolume(int, int, int)

public void AdjustSuggestedStreamVolume(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

AdjustVolume(int, int)

public void AdjustVolume(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

AdjustVolumeGroupVolume(int, int, int)

public void AdjustVolumeGroupVolume(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

ClearCommunicationDevice()

public void ClearCommunicationDevice()

ClearPreferredMixerAttributes(AudioAttributes, AudioDeviceInfo)

public bool ClearPreferredMixerAttributes(AudioAttributes arg0, AudioDeviceInfo arg1)

Parameters

arg0 AudioAttributes

AudioAttributes

arg1 AudioDeviceInfo

AudioDeviceInfo

Returns

bool

bool

DispatchMediaKeyEvent(KeyEvent)

public void DispatchMediaKeyEvent(KeyEvent arg0)

Parameters

arg0 KeyEvent

KeyEvent

GenerateAudioSessionId()

public int GenerateAudioSessionId()

Returns

int

int

GetActivePlaybackConfigurations()

public List<AudioPlaybackConfiguration> GetActivePlaybackConfigurations()

Returns

List<AudioPlaybackConfiguration>

List

GetActiveRecordingConfigurations()

public List<AudioRecordingConfiguration> GetActiveRecordingConfigurations()

Returns

List<AudioRecordingConfiguration>

List

GetAllowedCapturePolicy()

public int GetAllowedCapturePolicy()

Returns

int

int

GetAudioDevicesForAttributes(AudioAttributes)

public List<AudioDeviceInfo> GetAudioDevicesForAttributes(AudioAttributes arg0)

Parameters

arg0 AudioAttributes

AudioAttributes

Returns

List<AudioDeviceInfo>

List

GetAudioHwSyncForSession(int)

public int GetAudioHwSyncForSession(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetAvailableCommunicationDevices()

public List<AudioDeviceInfo> GetAvailableCommunicationDevices()

Returns

List<AudioDeviceInfo>

List

GetCommunicationDevice()

public AudioDeviceInfo GetCommunicationDevice()

Returns

AudioDeviceInfo

AudioDeviceInfo

GetDevices(int)

public AudioDeviceInfo[] GetDevices(int arg0)

Parameters

arg0 int

int

Returns

AudioDeviceInfo[]

AudioDeviceInfo

GetDirectPlaybackSupport(AudioFormat, AudioAttributes)

public static int GetDirectPlaybackSupport(AudioFormat arg0, AudioAttributes arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 AudioAttributes

AudioAttributes

Returns

int

int

GetDirectProfilesForAttributes(AudioAttributes)

public List<AudioProfile> GetDirectProfilesForAttributes(AudioAttributes arg0)

Parameters

arg0 AudioAttributes

AudioAttributes

Returns

List<AudioProfile>

List

GetEncodedSurroundMode()

public int GetEncodedSurroundMode()

Returns

int

int

GetMicrophones()

public List<MicrophoneInfo> GetMicrophones()

Returns

List<MicrophoneInfo>

List

Exceptions

IOException

GetMode()

public int GetMode()

Returns

int

int

GetParameters(String)

public String GetParameters(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetPlaybackOffloadSupport(AudioFormat, AudioAttributes)

[Obsolete]
public static int GetPlaybackOffloadSupport(AudioFormat arg0, AudioAttributes arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 AudioAttributes

AudioAttributes

Returns

int

int

GetPreferredMixerAttributes(AudioAttributes, AudioDeviceInfo)

public AudioMixerAttributes GetPreferredMixerAttributes(AudioAttributes arg0, AudioDeviceInfo arg1)

Parameters

arg0 AudioAttributes

AudioAttributes

arg1 AudioDeviceInfo

AudioDeviceInfo

Returns

AudioMixerAttributes

AudioMixerAttributes

GetProperty(String)

public String GetProperty(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetRingerMode()

public int GetRingerMode()

Returns

int

int

GetRouting(int)

[Obsolete]
public int GetRouting(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetSpatializer()

public Spatializer GetSpatializer()

Returns

Spatializer

Spatializer

GetStreamMaxVolume(int)

public int GetStreamMaxVolume(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetStreamMinVolume(int)

public int GetStreamMinVolume(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetStreamVolume(int)

public int GetStreamVolume(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetStreamVolumeDb(int, int, int)

public float GetStreamVolumeDb(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

Returns

float

float

GetSupportedDeviceTypes(int)

public Set<Integer> GetSupportedDeviceTypes(int arg0)

Parameters

arg0 int

int

Returns

Set<Integer>

Set

GetSupportedMixerAttributes(AudioDeviceInfo)

public List<AudioMixerAttributes> GetSupportedMixerAttributes(AudioDeviceInfo arg0)

Parameters

arg0 AudioDeviceInfo

AudioDeviceInfo

Returns

List<AudioMixerAttributes>

List

GetVibrateSetting(int)

[Obsolete]
public int GetVibrateSetting(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetVolumeGroupIdForAttributes(AudioAttributes)

public int GetVolumeGroupIdForAttributes(AudioAttributes arg0)

Parameters

arg0 AudioAttributes

AudioAttributes

Returns

int

int

IsBluetoothA2dpOn()

[Obsolete]
public bool IsBluetoothA2dpOn()

Returns

bool

bool

IsBluetoothScoAvailableOffCall()

public bool IsBluetoothScoAvailableOffCall()

Returns

bool

bool

IsBluetoothScoOn()

[Obsolete]
public bool IsBluetoothScoOn()

Returns

bool

bool

IsCallScreeningModeSupported()

public bool IsCallScreeningModeSupported()

Returns

bool

bool

IsHapticPlaybackSupported()

public static bool IsHapticPlaybackSupported()

Returns

bool

bool

IsMicrophoneMute()

public bool IsMicrophoneMute()

Returns

bool

bool

IsMusicActive()

public bool IsMusicActive()

Returns

bool

bool

IsOffloadedPlaybackSupported(AudioFormat, AudioAttributes)

public static bool IsOffloadedPlaybackSupported(AudioFormat arg0, AudioAttributes arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 AudioAttributes

AudioAttributes

Returns

bool

bool

IsRampingRingerEnabled()

public bool IsRampingRingerEnabled()

Returns

bool

bool

IsSpeakerphoneOn()

[Obsolete]
public bool IsSpeakerphoneOn()

Returns

bool

bool

IsStreamMute(int)

public bool IsStreamMute(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsSurroundFormatEnabled(int)

public bool IsSurroundFormatEnabled(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsVolumeFixed()

public bool IsVolumeFixed()

Returns

bool

bool

IsVolumeGroupMuted(int)

public bool IsVolumeGroupMuted(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsWiredHeadsetOn()

[Obsolete]
public bool IsWiredHeadsetOn()

Returns

bool

bool

LoadSoundEffects()

public void LoadSoundEffects()

PlaySoundEffect(int)

public void PlaySoundEffect(int arg0)

Parameters

arg0 int

int

PlaySoundEffect(int, float)

public void PlaySoundEffect(int arg0, float arg1)

Parameters

arg0 int

int

arg1 float

float

RegisterAudioDeviceCallback(AudioDeviceCallback, Handler)

public void RegisterAudioDeviceCallback(AudioDeviceCallback arg0, Handler arg1)

Parameters

arg0 AudioDeviceCallback

AudioDeviceCallback

arg1 Handler

Handler

RegisterAudioPlaybackCallback(AudioPlaybackCallback, Handler)

public void RegisterAudioPlaybackCallback(AudioManager.AudioPlaybackCallback arg0, Handler arg1)

Parameters

arg0 AudioManager.AudioPlaybackCallback

AudioManager.AudioPlaybackCallback

arg1 Handler

Handler

RegisterAudioRecordingCallback(AudioRecordingCallback, Handler)

public void RegisterAudioRecordingCallback(AudioManager.AudioRecordingCallback arg0, Handler arg1)

Parameters

arg0 AudioManager.AudioRecordingCallback

AudioManager.AudioRecordingCallback

arg1 Handler

Handler

RegisterMediaButtonEventReceiver(PendingIntent)

[Obsolete]
public void RegisterMediaButtonEventReceiver(PendingIntent arg0)

Parameters

arg0 PendingIntent

PendingIntent

RegisterMediaButtonEventReceiver(ComponentName)

[Obsolete]
public void RegisterMediaButtonEventReceiver(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

RegisterRemoteControlClient(RemoteControlClient)

[Obsolete]
public void RegisterRemoteControlClient(RemoteControlClient arg0)

Parameters

arg0 RemoteControlClient

RemoteControlClient

RegisterRemoteController(RemoteController)

[Obsolete]
public bool RegisterRemoteController(RemoteController arg0)

Parameters

arg0 RemoteController

RemoteController

Returns

bool

bool

RemoveOnCommunicationDeviceChangedListener(OnCommunicationDeviceChangedListener)

public void RemoveOnCommunicationDeviceChangedListener(AudioManager.OnCommunicationDeviceChangedListener arg0)

Parameters

arg0 AudioManager.OnCommunicationDeviceChangedListener

AudioManager.OnCommunicationDeviceChangedListener

RemoveOnModeChangedListener(OnModeChangedListener)

public void RemoveOnModeChangedListener(AudioManager.OnModeChangedListener arg0)

Parameters

arg0 AudioManager.OnModeChangedListener

AudioManager.OnModeChangedListener

RemoveOnPreferredMixerAttributesChangedListener(OnPreferredMixerAttributesChangedListener)

public void RemoveOnPreferredMixerAttributesChangedListener(AudioManager.OnPreferredMixerAttributesChangedListener arg0)

Parameters

arg0 AudioManager.OnPreferredMixerAttributesChangedListener

AudioManager.OnPreferredMixerAttributesChangedListener

RequestAudioFocus(AudioFocusRequest)

public int RequestAudioFocus(AudioFocusRequest arg0)

Parameters

arg0 AudioFocusRequest

AudioFocusRequest

Returns

int

int

RequestAudioFocus(OnAudioFocusChangeListener, int, int)

[Obsolete]
public int RequestAudioFocus(AudioManager.OnAudioFocusChangeListener arg0, int arg1, int arg2)

Parameters

arg0 AudioManager.OnAudioFocusChangeListener

AudioManager.OnAudioFocusChangeListener

arg1 int

int

arg2 int

int

Returns

int

int

SetAllowedCapturePolicy(int)

public void SetAllowedCapturePolicy(int arg0)

Parameters

arg0 int

int

SetBluetoothA2dpOn(bool)

[Obsolete]
public void SetBluetoothA2dpOn(bool arg0)

Parameters

arg0 bool

bool

SetBluetoothScoOn(bool)

public void SetBluetoothScoOn(bool arg0)

Parameters

arg0 bool

bool

SetCommunicationDevice(AudioDeviceInfo)

public bool SetCommunicationDevice(AudioDeviceInfo arg0)

Parameters

arg0 AudioDeviceInfo

AudioDeviceInfo

Returns

bool

bool

SetEncodedSurroundMode(int)

public bool SetEncodedSurroundMode(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

SetMicrophoneMute(bool)

public void SetMicrophoneMute(bool arg0)

Parameters

arg0 bool

bool

SetMode(int)

public void SetMode(int arg0)

Parameters

arg0 int

int

SetParameters(String)

public void SetParameters(String arg0)

Parameters

arg0 String

String

SetPreferredMixerAttributes(AudioAttributes, AudioDeviceInfo, AudioMixerAttributes)

public bool SetPreferredMixerAttributes(AudioAttributes arg0, AudioDeviceInfo arg1, AudioMixerAttributes arg2)

Parameters

arg0 AudioAttributes

AudioAttributes

arg1 AudioDeviceInfo

AudioDeviceInfo

arg2 AudioMixerAttributes

AudioMixerAttributes

Returns

bool

bool

SetRingerMode(int)

public void SetRingerMode(int arg0)

Parameters

arg0 int

int

SetRouting(int, int, int)

[Obsolete]
public void SetRouting(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

SetSpeakerphoneOn(bool)

[Obsolete]
public void SetSpeakerphoneOn(bool arg0)

Parameters

arg0 bool

bool

SetStreamMute(int, bool)

[Obsolete]
public void SetStreamMute(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

SetStreamSolo(int, bool)

[Obsolete]
public void SetStreamSolo(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

SetStreamVolume(int, int, int)

public void SetStreamVolume(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

SetSurroundFormatEnabled(int, bool)

public bool SetSurroundFormatEnabled(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Returns

bool

bool

SetVibrateSetting(int, int)

[Obsolete]
public void SetVibrateSetting(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetWiredHeadsetOn(bool)

[Obsolete]
public void SetWiredHeadsetOn(bool arg0)

Parameters

arg0 bool

bool

ShouldVibrate(int)

[Obsolete]
public bool ShouldVibrate(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

StartBluetoothSco()

[Obsolete]
public void StartBluetoothSco()

StopBluetoothSco()

[Obsolete]
public void StopBluetoothSco()

UnloadSoundEffects()

public void UnloadSoundEffects()

UnregisterAudioDeviceCallback(AudioDeviceCallback)

public void UnregisterAudioDeviceCallback(AudioDeviceCallback arg0)

Parameters

arg0 AudioDeviceCallback

AudioDeviceCallback

UnregisterAudioPlaybackCallback(AudioPlaybackCallback)

public void UnregisterAudioPlaybackCallback(AudioManager.AudioPlaybackCallback arg0)

Parameters

arg0 AudioManager.AudioPlaybackCallback

AudioManager.AudioPlaybackCallback

UnregisterAudioRecordingCallback(AudioRecordingCallback)

public void UnregisterAudioRecordingCallback(AudioManager.AudioRecordingCallback arg0)

Parameters

arg0 AudioManager.AudioRecordingCallback

AudioManager.AudioRecordingCallback

UnregisterMediaButtonEventReceiver(PendingIntent)

[Obsolete]
public void UnregisterMediaButtonEventReceiver(PendingIntent arg0)

Parameters

arg0 PendingIntent

PendingIntent

UnregisterMediaButtonEventReceiver(ComponentName)

[Obsolete]
public void UnregisterMediaButtonEventReceiver(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

UnregisterRemoteControlClient(RemoteControlClient)

[Obsolete]
public void UnregisterRemoteControlClient(RemoteControlClient arg0)

Parameters

arg0 RemoteControlClient

RemoteControlClient

UnregisterRemoteController(RemoteController)

[Obsolete]
public void UnregisterRemoteController(RemoteController arg0)

Parameters

arg0 RemoteController

RemoteController