SpeechRecognitionErrorEvent

The SpeechRecognitionErrorEvent interface of the Web Speech API represents error messages from the recognition service. Available only in secure contexts.

MDN Reference

Constructors

Properties

Link copied to clipboard
external val bubbles: Boolean
Link copied to clipboard
external val cancelable: Boolean
Link copied to clipboard
external val composed: Boolean
Link copied to clipboard
external val currentTarget: EventTarget?
Link copied to clipboard
Link copied to clipboard

The error read-only property of the SpeechRecognitionErrorEvent interface returns the type of error raised.

Link copied to clipboard
external val eventPhase: EventPhase
Link copied to clipboard
external val isTrusted: Boolean
Link copied to clipboard
external val message: String

The message read-only property of the SpeechRecognitionErrorEvent interface returns a message describing the error in more detail.

Link copied to clipboard
external val target: EventTarget?
Link copied to clipboard
Link copied to clipboard
open external override val type: EventType<SpeechRecognitionErrorEvent>

Functions

Link copied to clipboard
Link copied to clipboard
external fun preventDefault()
Link copied to clipboard
Link copied to clipboard
external fun stopPropagation()