SpeechRecognitionResult SpeechRecognitionResult SpeechRecognitionResult SpeechRecognitionResult SpeechRecognitionResult Class


The result of a speech recognition session.

public : sealed class SpeechRecognitionResult
struct winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult
public sealed class SpeechRecognitionResult
Public NotInheritable Class SpeechRecognitionResult
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Call the SpeechRecognizer.RecognizeAsync or the SpeechRecognizer.RecognizeWithUIAsync method to obtain an instance of this class.


Confidence Confidence Confidence Confidence Confidence

Gets a value that indicates the confidence of the speech recognizer in the recognition result.

Constraint Constraint Constraint Constraint Constraint

Gets the constraint used for the recognition result.

PhraseDuration PhraseDuration PhraseDuration PhraseDuration PhraseDuration

Gets the amount of time required for the utterance.

PhraseStartTime PhraseStartTime PhraseStartTime PhraseStartTime PhraseStartTime

Gets the start time of the utterance.

RawConfidence RawConfidence RawConfidence RawConfidence RawConfidence

Gets a value that indicates the relative confidence of the SpeechRecognitionResult when compared with a collection of alternatives returned with the recognition result.

RulePath RulePath RulePath RulePath RulePath

Gets the hierarchy of rule elements that were triggered to return the recognized phrase.

SemanticInterpretation SemanticInterpretation SemanticInterpretation SemanticInterpretation SemanticInterpretation

Gets an interpretation object containing the semantic properties of a recognized phrase in a Speech Recognition Grammar Specification (SRGS) grammar.

Status Status Status Status Status

Gets the result state (SpeechRecognitionResultStatus ) of a speech recognition session.

Text Text Text Text Text

Gets the recognized phrase of the speech recognition session.


GetAlternates(UInt32) GetAlternates(UInt32) GetAlternates(UInt32) GetAlternates(UInt32) GetAlternates(UInt32)

Gets a collection of recognition result alternatives, ordered by RawConfidence from most likely to least likely. The first item in the collection is the recognition result indicated by the parent object.

See also