Пример #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;
			});
		}
Пример #2
0
		private void OnRecognitionRejected(SpeechProviderRecognozerEventArgs args) {
			this.SpeechMessage = args.Result.Text;
		}