Most visited

Recently visited

Added in API level 24

AudioManager.AudioRecordingCallback

public static abstract class AudioManager.AudioRecordingCallback
extends Object

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


用于接收关于记录配置的更新通知的接口。 扩展这个抽象类并将其注册为registerAudioRecordingCallback(AudioRecordingCallback, Handler)以通知。 使用getActiveRecordingConfigurations()查询当前配置。

也可以看看:

Summary

Public constructors

AudioManager.AudioRecordingCallback()

Public methods

void onRecordingConfigChanged(List<AudioRecordingConfiguration> configs)

每当设备录制配置发生变化时调用。

Inherited methods

From class java.lang.Object

Public constructors

AudioManager.AudioRecordingCallback

Added in API level 24
AudioManager.AudioRecordingCallback ()

Public methods

onRecordingConfigChanged

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

每当设备录制配置发生变化时调用。

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

Hooray!