W3cubDocs

/Haxe JavaScript

SpeechRecognitionError

package js.html

extends Event

@:native("SpeechRecognitionError") Available on js

The SpeechRecognitionError interface of the Web Speech API represents error messages from the recognition service.

Documentation SpeechRecognitionError by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (type:String, ?eventInitDict:SpeechRecognitionErrorInit)

Throws:

null DOMError

Variables

read only error:SpeechRecognitionErrorCode

Returns the type of error raised.

read only message:String

Returns a message describing the error in more detail.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/SpeechRecognitionError.html