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

AudioRecordingCallback()

Public methods

void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs)

Called whenever the device recording configuration has changed.

Inherited methods

Public constructors

AudioRecordingCallback

public 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().