speechToTextResult

Fires when the speech recognition service returns a result.

Event Data

e.transcript String

The transcribed text from speech recognition.

e.isFinal Boolean

Indicates whether this is a final result.

Example

<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
    speechToTextButton: true,
    placeholder: "Speak your message...",
    speechToTextResult: function(e) {
        console.log("Transcript:", e.transcript);
        console.log("Is final:", e.isFinal);
    }
});
</script>
In this article
speechToTextResult
Not finding the help you need?
Contact Support