annyang v2.1.0 Release Notes
Release Date: 2015-12-24 // over 8 years ago-
➕ Added a new method which returns true if speech recognition is currently on. Returns false if speech recognition is off or annyang is paused.
if (annyang) { annyang.isListening(); // will return falseannyang.start(); annyang.isListening(); // will return trueannyang.pause(); annyang.isListening(); // will return falseannyang.abort(); annyang.isListening(); // will return false}