SpeechRecognitionResult class

The result of a speech recognition session.

Syntax

public sealed class SpeechRecognitionResult
Public NotInheritable Class SpeechRecognitionResult
public ref class SpeechRecognitionResult sealed 

Members

The SpeechRecognitionResult class has these types of members:

  • Methods
  • Properties

Methods

The SpeechRecognitionResult class has these methods. It also inherits methods from the Object class.

Method Description
GetAlternates Gets a collection of speech recognition results, ordered from most likely to least likely.

 

Properties

The SpeechRecognitionResult class has these properties.

Property Access type Description

Details

Read-only

Gets additional details about the speech recognition result, including the rule that was triggered to return the recognized phrase and the confidence score.

RuleName

Read-only

Gets the rule element in a Speech Recognition Grammar Specification (SRGS) grammar that was triggered to return the recognized phrase.

Semantics

Read-only

Gets a dictionary of the semantic properties of a recognized phrase in a Speech Recognition Grammar Specification (SRGS) grammar.

Text

Read-only

Gets the recognized phrase of the speech recognition session.

TextConfidence

Read-only

Gets the confidence level of the result as an enumeration value.

 

Remarks

The SpeechRecognitionResult class can't be instantiated directly. An instance of the class can be obtained by using the following APIs:

  • The return value of the RecognizeAsync method.
  • From the collection of speech recognition results returned by the GetAlternates method.
  • The RecognitionResult property of the SpeechRecognitionUIResult class.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Recognition Windows::Phone::Speech::Recognition [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone] ID_CAP_MICROPHONE [Windows Phone] ID_CAP_NETWORKING [Windows Phone]

Attributes

[MarshalingBehavior(Agile)]

[Version(0x06020000)]

See also

Object