isListening

Returns true if the speech recognition is active (listening), otherwise false.

Returns

Boolean true if the widget is currently listening for speech input.

Example

<button id="speechButton"></button>
<script>
    var speechButton = $("#speechButton").kendoSpeechToTextButton().data("kendoSpeechToTextButton");
    speechButton.startRecognition();
    console.log(speechButton.isListening()); // logs true
</script>
In this article
isListening
Not finding the help you need?
Contact Support