Share via


SpeechRecognitionResultStatus Enum

Definition

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

public enum class SpeechRecognitionResultStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SpeechRecognitionResultStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SpeechRecognitionResultStatus
var value = Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus.success
Public Enum SpeechRecognitionResultStatus
Inheritance
SpeechRecognitionResultStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Success 0

The recognition session or compilation succeeded.

TopicLanguageNotSupported 1

A topic constraint was set for an unsupported language.

GrammarLanguageMismatch 2

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

GrammarCompilationFailure 3

A grammar failed to compile.

AudioQualityFailure 4

Audio problems caused recognition to fail.

UserCanceled 5

User canceled recognition session.

Unknown 6

An unknown problem caused recognition or compilation to fail.

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.

PauseLimitExceeded 8

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

Not supported in Windows 8 apps and Windows Phone apps.

NetworkFailure 9

Network problems caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

MicrophoneUnavailable 10

Lack of a microphone caused recognition to fail.

Not supported in Windows 8 apps and Windows Phone apps.

Remarks

RecognizeAsync and RecognizeWithUIAsync return a SpeechRecognitionResult object.

CompileConstraintsAsync returns a SpeechRecognitionCompilationResult object.

Applies to

See also