RecorderManager.onInterruptionBegin
JS
RecorderManager.onInterruptionBegin(function callback)监听录音因为受到系统占用而被中断开始事件
系统级中断 (如来电、其他 App 抢占音频硬件) 触发,应用内音频播放不触发此事件。中断期间录音自动暂停,不计入录音时长。
参数
- function callback: 录音中断开始事件的回调函数,无参数
