W3cubDocs

/Haxe JavaScript

SpeechRecognitionEvent

package js.html

extends Event

@:native("SpeechRecognitionEvent") 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:

Constructor

new (type:String, ?eventInitDict:SpeechRecognitionEventInit)

Throws:

null DOMError

Variables

read only emma:HTMLDocument

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

read only interpretation:Dynamic

Returns the semantic meaning of what the user said.

read only resultIndex:Int

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

read only results:SpeechRecognitionResultList

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

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