LinkVisual Media SDK(Android) v2.7.0-ilop
|
音频文件录制监听器 More...
Public Member Functions | |
void | onRecordStart () |
void | onRecordEnd () |
void | onRecordVolume (int volume) |
void | onError (LVAudioFileErrorCode code, String message) |
音频文件录制监听器
void com.aliyun.iotx.linkvisual.media.audiofile.listener.ILVAudioFileRecorderListener.onError | ( | LVAudioFileErrorCode | code, |
String | message | ||
) |
录音出错回调,该接口在创建音频文件录制实例的线程中执行(如果有Looper,否则在主线程中执行)
code | 错误码 |
message | 错误描述 |
void com.aliyun.iotx.linkvisual.media.audiofile.listener.ILVAudioFileRecorderListener.onRecordEnd | ( | ) |
录音结束回调,该接口在创建音频文件录制实例的线程中执行(如果有Looper,否则在主线程中执行)
void com.aliyun.iotx.linkvisual.media.audiofile.listener.ILVAudioFileRecorderListener.onRecordStart | ( | ) |
录音开始回调,该接口在创建音频文件录制实例的线程中执行(如果有Looper,否则在主线程中执行)
void com.aliyun.iotx.linkvisual.media.audiofile.listener.ILVAudioFileRecorderListener.onRecordVolume | ( | int | volume | ) |
录音音量回调,该接口在创建音频文件录制实例的线程中执行(如果有Looper,否则在主线程中执行)
volume | 录音音量大小,范围[0-100] |