Table of Contents

Class SpeechRecognitionResult

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The SpeechRecognitionResult interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.

[Value("SpeechRecognitionResult")]
public class SpeechRecognitionResult
Inheritance
SpeechRecognitionResult
Inherited Members

Remarks

Constructors

SpeechRecognitionResult()

public SpeechRecognitionResult()

Properties

IsFinal

The isFinal read-only property of the
SpeechRecognitionResult interface is a boolean value that states
whether this result is final (true) or not (false) — if so,
then this is the final time this result will be returned; if not, then this result is an
interim result, and may be updated later on.

[Value("isFinal")]
public bool IsFinal { get; }

Property Value

bool

A boolean value.

Remarks

Length

The length read-only property of the
SpeechRecognitionResult interface returns the length of the "array"
— the number of SpeechRecognitionAlternative objects contained
in the result (also referred to as "n-best alternatives".)

[Value("length")]
public ulong Length { get; }

Property Value

ulong

A number.

Remarks

The number of alternatives contained in the result depends on what the
MaxAlternatives property was set to when the speech
recognition was first initiated.

-Web Speech API

See also on MDN