You need to sign in or sign up before continuing.
未验证 提交 211ba776 编写于 作者: O openharmony_ci 提交者: Gitee

!2120 【轻量级 PR】:示例代码修改

Merge pull request !2120 from zengyawen/N/A
......@@ -92,7 +92,7 @@ audioRecorder = undefined;
与全流程场景不同,不包括暂停录制,恢复录制的过程。
```js
function SetCallBack(audioPlayer) {
function SetCallBack(audioRecorder) {
audioRecorder.on('prepare', () => { // 设置'prepare'事件回调
console.log('prepare success');
// 录制界面可切换至已准备好,可点击录制按钮进行录制
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册