startRecord 开始录音
startRecord
开始录音
#请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param |
Object |
Y |
{} |
请求参数 |
#接口调用示例
soundModule.startRecord(param, (resp) => {
this.$alert("成功")
}, (error) => {
this.$toast("失败")
})
#返回参数
- 成功时返回
| Prop | Type | Default | Description |
|---|---|---|---|
status |
Number |
N/A |
0 开始录音 |
-
- 失败描述:
| Prop | Type | Default | Description |
|---|---|---|---|
errorCode |
Number |
N/A |
失败错误码 |
errorMessage |
String |
N/A |
错误消息(如有) |
浙公网安备 33010602011771号