| java.lang.Object | |
| ↳ | android.media.AudioDeviceCallback |
AudioDeviceCallback defines the mechanism by which applications can receive notifications of audio device connection and disconnection events.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called by the
AudioManager to indicate that one or more audio devices have been
connected.
| |||||||||||
Called by the
AudioManager to indicate that one or more audio devices have been
disconnected.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Called by the AudioManager to indicate that one or more audio devices have been
connected.
| addedDevices | An array of AudioDeviceInfo objects corresponding to any
newly added audio devices.
|
|---|
Called by the AudioManager to indicate that one or more audio devices have been
disconnected.
| removedDevices | An array of AudioDeviceInfo objects corresponding to any
newly removed audio devices.
|
|---|