New to Kendo UI for jQuery? Start a free 30-day trial

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.

<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>
Not finding the help you need?
Contact Support