result
Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
Event Data
e.isFinal Boolean
A boolean indicating if the result is final.
e.alternatives Array
An array of alternative transcripts. Each object in the array has transcript and confidence fields.
Example
<button id="speechButton"></button> <p id="result"></p> <script> $("#speechButton").kendoSpeechToTextButton({ interimResults: true, result: function(e) { var transcript = e.alternatives[0].transcript; if (e.isFinal) { $("#result").text("Final: " + transcript); } else { $("#result").text("Interim: " + transcript); } } }); </script> In this article