SpeechRecognitionResult class

Applies to Windows Phone only

The result of a speech recognition session.

Syntax


public sealed class SpeechRecognitionResult

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

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 [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

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]

See also

Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft