RecorderManager.onStop(function listener)
小程序插件:支持
功能描述
监听录音结束事件
参数
function listener
录音结束事件的监听函数
参数
Object res
属性 | 类型 | 说明 |
tempFilePath | string | 录音文件的临时路径 (本地路径) |
duration | number | 录音总时长,单位:ms |
fileSize | number | 录音文件大小,单位:Byte |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.