语音识别的 userInterface 参数设置无效,无法隐藏默认的语音提示样式?我想写一个自定义的界面,隐藏这个默认的,好像隐藏不了,有人可以用吗?
function startRecognize() {
var options = {};
options.engine = 'iFly';
options.userInterface = false;
text = "";
plus.speech.startRecognize(options, function(s) {
text += s;
document.getElementById("info").innerText = text;
}, function(e) {
alert("语音识别失败:" + e.message);
});
}
t***@qq.com
现在还不行吗?
2016-11-04 16:11