# stopRecord
停止录音
- 参数描述:
Prop | Type | Required | Default | Description |
---|---|---|---|---|
param | Object | Y | {} | 请求参数 |
# 接口调用示例
soundModule.stopRecord(param, (resp) => {
this.$alert("成功")
}, (error) => {
this.$toast("失败")
})
1
2
3
4
5
2
3
4
5
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
filePath | String | Y | N/A |
fileName | String | Y | N/A |
duration | Number | Y | N/A |
size | String | Y | N/A |
- 失败时返回
Prop | Type | Default | Description |
---|---|---|---|
errorCode | Number | N/A | 失败错误码 |
errorMessage | String | N/A | 错误消息(如有) |
← startRecord playAudio →