W3cubDocs

/Haxe JavaScript

SpeechRecognitionEvent

package js.html

extends Event

Available on js

The SpeechRecognitionEvent interface of the Web Speech API represents the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.

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

See also:

Constructor

new(type:String, ?eventInitDict:Null<SpeechRecognitionEventInit>)

Throws:

null

DOMError

Variables

read onlyemma:HTMLDocument

Returns an Extensible MultiModal Annotation markup language (EMMA) — XML — representation of the result.

read onlyinterpretation:Dynamic

Returns the semantic meaning of what the user said.

read onlyresultIndex:Int

Returns the lowest index value result in the SpeechRecognitionResultList "array" that has actually changed.

read onlyresults:SpeechRecognitionResultList

Returns a SpeechRecognitionResultList object representing all the speech recognition results for the current session.

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