Added in API level 24
AudioRecordingCallback
abstract class AudioRecordingCallback
kotlin.Any | |
↳ | android.media.AudioManager.AudioRecordingCallback |
Interface for receiving update notifications about the recording configuration. Extend this abstract class and register it with AudioManager.registerAudioRecordingCallback(AudioRecordingCallback, Handler)
to be notified. Use AudioManager.getActiveRecordingConfigurations()
to query the current configuration.
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
open Unit |
Called whenever the device recording configuration has changed. |
Public constructors
AudioRecordingCallback
AudioRecordingCallback()
Public methods
onRecordingConfigChanged
Added in API level 24
open fun onRecordingConfigChanged(configs: MutableList<AudioRecordingConfiguration!>!): Unit
Called whenever the device recording configuration has changed.
Parameters | |
---|---|
configs |
MutableList<AudioRecordingConfiguration!>!: list containing the results of AudioManager.getActiveRecordingConfigurations() . |