AudioManager.AudioPlaybackCallback
public
static
abstract
class
AudioManager.AudioPlaybackCallback
extends Object
java.lang.Object | |
↳ | android.media.AudioManager.AudioPlaybackCallback |
Interface for receiving update notifications about the playback activity on the system.
Extend this abstract class and register it with
AudioManager.registerAudioPlaybackCallback(AudioPlaybackCallback, Handler)
to be notified.
Use AudioManager.getActivePlaybackConfigurations()
to query the current
configuration.
See also:
Summary
Public constructors | |
---|---|
AudioPlaybackCallback()
|
Public methods | |
---|---|
void
|
onPlaybackConfigChanged(List<AudioPlaybackConfiguration> configs)
Called whenever the playback activity and configuration has changed. |
Inherited methods | |
---|---|
Public constructors
AudioPlaybackCallback
public AudioPlaybackCallback ()
Public methods
onPlaybackConfigChanged
public void onPlaybackConfigChanged (List<AudioPlaybackConfiguration> configs)
Called whenever the playback activity and configuration has changed.
Parameters | |
---|---|
configs |
List : list containing the results of
AudioManager.getActivePlaybackConfigurations() . |