SpeechRecognitionResultStatus SpeechRecognitionResultStatus SpeechRecognitionResultStatus SpeechRecognitionResultStatus Enum

Definition

Specifies the possible result states of a speech recognition session or from the compiling of grammar constraints.

public : enum class SpeechRecognitionResultStatuspublic enum SpeechRecognitionResultStatusPublic Enum SpeechRecognitionResultStatus// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AudioQualityFailure AudioQualityFailure AudioQualityFailure AudioQualityFailure

Audio problems caused recognition to fail.

GrammarCompilationFailure GrammarCompilationFailure GrammarCompilationFailure GrammarCompilationFailure

A grammar failed to compile.

GrammarLanguageMismatch GrammarLanguageMismatch GrammarLanguageMismatch GrammarLanguageMismatch

The language of the speech recognizer does not match the language of a grammar.

MicrophoneUnavailable MicrophoneUnavailable MicrophoneUnavailable MicrophoneUnavailable

Lack of a microphone caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

NetworkFailure NetworkFailure NetworkFailure NetworkFailure

Network problems caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

PauseLimitExceeded PauseLimitExceeded PauseLimitExceeded PauseLimitExceeded

An extended pause, or excessive processing time, caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

Success Success Success Success

The recognition session or compilation succeeded.

TimeoutExceeded TimeoutExceeded TimeoutExceeded TimeoutExceeded

A timeout due to extended silence or poor audio caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

TopicLanguageNotSupported TopicLanguageNotSupported TopicLanguageNotSupported TopicLanguageNotSupported

A topic constraint was set for an unsupported language.

Unknown Unknown Unknown Unknown

An unknown problem caused recognition or compilation to fail.

UserCanceled UserCanceled UserCanceled UserCanceled

User canceled recognition session.

Remarks

RecognizeAsync and RecognizeWithUIAsync return a SpeechRecognitionResult object.

CompileConstraintsAsync returns a SpeechRecognitionCompilationResult object.

See Also