Exemple #1
0
		private void OnRecognitionAccepted(SpeechProviderRecognozerEventArgs args) {
			this.SpeechMessage = args.Result.Text;

			Task.Run(() => {
				System.Threading.Thread.Sleep(TimeSpan.FromSeconds(3));
				this.SpeechMessage = String.Empty;
			});
		}
Exemple #2
0
		private void OnRecognitionRejected(SpeechProviderRecognozerEventArgs args) {
			this.SpeechMessage = args.Result.Text;
		}