AudioManager.AudioRecordingCallback

public static abstract class AudioManager.AudioRecordingCallback
extends Object

java.lang.Object
   ↳ android.media.AudioManager.AudioRecordingCallback


Interface for receiving update notifications about the recording configuration. Extend this abstract class and register it with registerAudioRecordingCallback(AudioRecordingCallback, Handler) to be notified. Use getActiveRecordingConfigurations() to query the current configuration.

Summary

Public constructors

AudioManager.AudioRecordingCallback()

Public methods

void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs)

Called whenever the device recording configuration has changed.

Inherited methods

Public constructors

AudioManager.AudioRecordingCallback

added in API level 24
AudioManager.AudioRecordingCallback ()

Public methods

onRecordingConfigChanged

added in API level 24
void onRecordingConfigChanged (List<AudioRecordingConfiguration> configs)

Called whenever the device recording configuration has changed.

Parameters
configs List: list containing the results of getActiveRecordingConfigurations().