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

AudioQualityFailure 4

Audio problems caused recognition to fail.

GrammarCompilationFailure 3

A grammar failed to compile.

GrammarLanguageMismatch 2

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

MicrophoneUnavailable 10

Lack of a microphone 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.

PauseLimitExceeded 8

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

Not supported in Windows 8 apps and Windows Phone apps.

Success 0

The recognition session or compilation succeeded.

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 1

A topic constraint was set for an unsupported language.

Unknown 6

An unknown problem caused recognition or compilation to fail.

UserCanceled 5

User canceled recognition session.

Remarks

RecognizeAsync and RecognizeWithUIAsync return a SpeechRecognitionResult object.

CompileConstraintsAsync returns a SpeechRecognitionCompilationResult object.

Applies to

See also