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 AudioManager.registerAudioRecordingCallback(AudioRecordingCallback, Handler) to be notified. Use AudioManager.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
public AudioManager.AudioRecordingCallback ()

Public methods

onRecordingConfigChanged

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

Called whenever the device recording configuration has changed.

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