let recorderManager = uni.getRecorderManager();
console.log("-------------loadRecord---------------" + JSON.stringify(this.recorderManager))
recorderManager.onStop(res => {
});
recorderManager.onStart(res=>{
console.log('recorder onStart' + JSON.stringify(res));
})
recorderManager.onError(res=>{
console.log('recorder error' + JSON.stringify(res));
})
recorderManager.start({
format: 'wav'
});
0 个回复