Class android.media.AudioManager
Added Methods | |
---|---|
int abandonAudioFocus (OnAudioFocusChangeListener ) | |
boolean isBluetoothScoAvailableOffCall () | |
void registerMediaButtonEventReceiver (ComponentName ) | |
int requestAudioFocus (OnAudioFocusChangeListener, int )
| |
void startBluetoothSco () | |
void stopBluetoothSco () | |
void unregisterMediaButtonEventReceiver (ComponentName ) |
Added Fields | |
---|---|
String ACTION_SCO_AUDIO_STATE_CHANGED | |
int AUDIOFOCUS_GAIN | |
int AUDIOFOCUS_GAIN_TRANSIENT | |
int AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK | |
int AUDIOFOCUS_LOSS | |
int AUDIOFOCUS_LOSS_TRANSIENT | |
int AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK | |
int AUDIOFOCUS_REQUEST_FAILED | |
int AUDIOFOCUS_REQUEST_GRANTED | |
String EXTRA_SCO_AUDIO_STATE | |
int SCO_AUDIO_STATE_CONNECTED | |
int SCO_AUDIO_STATE_DISCONNECTED | |
int SCO_AUDIO_STATE_ERROR |