fatality
停止识别的命令
var artyom = new Artyom();
artyom.initialize({
lang:"en-GB",
debug:true, //Show what recognizes in the Console
listen:true, //Start listening after this
speed:0.8, // Talk a little bit slow
});
/**
* After of 5 seconds, stop artyom.
*/
setTimeout(function(){
artyom.fatality().then(() => {
console.log("Artyom succesfully stopped !");
});
}, 5000);Last updated
Was this helpful?