comtom1
comtom1
  • 发布:2020-07-13 09:56
  • 更新:2020-07-13 09:56
  • 阅读:619

【报Bug】语音识别的option设置userInterface=false后没有回调

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 2.7.14

手机系统: Android

手机系统版本号: Android 9.0

手机厂商: 小米

手机机型: 小米6

打包方式: 云端

操作步骤:

var options = {};
options.engine = 'baidu';
options.lang = "zh-cn"
options.userInterface = false
plus.speech.startRecognize(options, function(s) {
console.log(s)
},function(e){
console.log(e.message)
}
);

预期结果:

点击后语音识别样式隐藏并且能语音识别

实际结果:

语音识别样式隐藏但是不能语音识别

bug描述:

真机调试语音识别的option没有设置userInterface,能够成功识别语音文字,设置userInterface=false后虽然自带的语音识别自带的样式隐藏掉了,却无法语音识别,无论成功或者失败都没有回调

2020-07-13 09:56 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复