Class SpeechRecognitionErrorEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The SpeechRecognitionErrorEvent interface of the Web Speech API represents error messages from the recognition service.
[Value("SpeechRecognitionErrorEvent")]
public class SpeechRecognitionErrorEvent : Event
- Inheritance
-
SpeechRecognitionErrorEvent
- Inherited Members
Remarks
Constructors
SpeechRecognitionErrorEvent()
public SpeechRecognitionErrorEvent()
SpeechRecognitionErrorEvent(string, SpeechRecognitionErrorEventInit)
public SpeechRecognitionErrorEvent(string type, SpeechRecognitionErrorEventInit eventInitDict)
Parameters
typestringeventInitDictSpeechRecognitionErrorEventInit
Properties
Error
The error read-only property of the
SpeechRecognitionErrorEvent interface returns the type of error raised.
[Value("error")]
public SpeechRecognitionErrorCode Error { get; }
Property Value
- SpeechRecognitionErrorCode
A string naming the type of error. The possible error types are:
Remarks
Message
The message read-only property of the
SpeechRecognitionErrorEvent interface returns a message describing the
error in more detail.
[Value("message")]
public string Message { get; }
Property Value
- string
A string containing more details about the error that was raised.
Note that the spec does not define the exact wording of these messages — this is up to
the implementors to decide upon.