SpeechRecognitionResultStatus 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 SpeechRecognitionResultStatus
enum class winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus : int32_t
public enum SpeechRecognitionResultStatus
Public Enum SpeechRecognitionResultStatus
var value = Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus.audioQualityFailure;
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 AudioQualityFailure 4

Audio problems caused recognition to fail.

GrammarCompilationFailure GrammarCompilationFailure GrammarCompilationFailure GrammarCompilationFailure GrammarCompilationFailure 3

A grammar failed to compile.

GrammarLanguageMismatch GrammarLanguageMismatch GrammarLanguageMismatch GrammarLanguageMismatch GrammarLanguageMismatch 2

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

MicrophoneUnavailable MicrophoneUnavailable MicrophoneUnavailable MicrophoneUnavailable MicrophoneUnavailable 10

Lack of a microphone caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

NetworkFailure NetworkFailure NetworkFailure NetworkFailure NetworkFailure 9

Network problems caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

PauseLimitExceeded PauseLimitExceeded PauseLimitExceeded PauseLimitExceeded PauseLimitExceeded 8

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 Success 0

The recognition session or compilation succeeded.

TimeoutExceeded TimeoutExceeded TimeoutExceeded TimeoutExceeded TimeoutExceeded 7

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 TopicLanguageNotSupported 1

A topic constraint was set for an unsupported language.

Unknown Unknown Unknown Unknown Unknown 6

An unknown problem caused recognition or compilation to fail.

UserCanceled UserCanceled UserCanceled UserCanceled UserCanceled 5

User canceled recognition session.

Remarks

RecognizeAsync and RecognizeWithUIAsync return a SpeechRecognitionResult object.

CompileConstraintsAsync returns a SpeechRecognitionCompilationResult object.

See also