ISpeechRecognizerAnalyzerStatic.CheckResultFromPhraseAsync Method

Run an emulated recognition against the current grammar set.

Syntax

public:
IAsyncOperation<SpeechRecognitionResult^ >^ CheckResultFromPhraseAsync(
         SpeechRecognizer^ speechRecognizer,
         String^ phrase
)  

Parameters

speechRecognizer
Type: SpeechRecognizer 

The recognizer that contains the grammar set to use to recognize the phrase.

phrase
Type: String 

 The phrase to recognize.

Return value

Type: IAsyncOperation<SpeechRecognitionResult^ > 

The result of the recognition.

Remarks

You can use this method to check whether your grammar set recognizes a phrase.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

ISpeechRecognizerAnalyzerStatic Interface

ISpeechRecognizerAnalyzerStatic Members

Windows.Xbox.Speech.Recognition Namespace