SpeechRecognitionResult speechRecognitionResult = await speechRecognizer.RecognizeAsync(); textBox1.Text = speechRecognitionResult.Text;
await speechRecognizer.CompileConstraintsAsync(); speechRecognizer.ContinuousRecognitionSession.ResultGenerated += async (s, e1) => { if ((e1.Result != null)) { await this.Dispatcher.RunAsync(CoreDispatcherPriority.Low, () => { var result = e1.Result.Text; textBox1.Text = result; }); speechRecognizer.ContinuousRecognitionSession.Resume(); } }; await speechRecognizer.ContinuousRecognitionSession.StartAsync(SpeechContinuousRecognitionMode.PauseOnRecognition);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)