Run an emulated recognition against the current grammar set.
public:
IAsyncOperation<SpeechRecognitionResult^ >^ CheckResultFromPhraseAsync(
SpeechRecognizer^ speechRecognizer,
String^ phrase
)
speechRecognizer
Type: SpeechRecognizer
The recognizer that contains the grammar set to use to recognize the phrase.
phrase
Type: String
The phrase to recognize.
Type: IAsyncOperation<SpeechRecognitionResult^ >
The result of the recognition.
You can use this method to check whether your grammar set recognizes a phrase.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd
ISpeechRecognizerAnalyzerStatic Interface