private void OnMicShortPhraseReceiveHandler(object sender, SpeechResponseEventArgs e) { MicClient.EndMicAndRecognition(); IsMicroUse = false; for (int i = 0; i < e.PhraseResponse.Results.Length; i++) { RecognizeText.Add(e.PhraseResponse.Results[i].DisplayText); } }
private void onIntentHandler(object sender, SpeechIntentEventArgs e) { RecognizeText.Add(e.Payload); MicClient.EndMicAndRecognition(); }