Windows Dev Center

SpeechRecognitionResult class

The result of a speech recognition session.

Syntax


Public NotInheritable Class SpeechRecognitionResult

Members

The SpeechRecognitionResult class has these types of members:

Methods

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

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

 

Properties

The SpeechRecognitionResult class has these properties.

PropertyAccess typeDescription

Details

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

RuleName

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

Semantics

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

Text

Read-onlyGets the recognized phrase of the speech recognition session.

TextConfidence

Read-onlyGets 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:

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

 

 

Show:
© 2015 Microsoft