录音管理API里没有onResume()事件

发布于 7 年前作者 zhengxiulan12509 次浏览最后编辑 7 年前来自 ask

手册里recorderManager 对象的方法列表里是有resume方法的,但却没有onResume()事件,最下面的示例代码却有

recorderManager.onResume(() => {
  console.log('recorder resume')
})
4 回复
junshi
junshi1 楼6 年前

好的,感谢你的反馈,我们会尽快处理

wei94
wei942 楼6 年前

会触发 onStart 事件

dfeng
dfeng3 楼6 年前

在模拟器上没问题,在真机上,继续录音resume  应该只是触发onResume事件,怎么还会同时触发onStart 事件

weizhao
weizhao4 楼5 年前

默默感觉 现在这个onResume已经被维护起来了。。。? 那所以以前全都写在onStart里的onResume逻辑应该肿么处理呢?~ 多谢~~~