コード例 #1
0
ファイル: SpeechRecognizer.cs プロジェクト: jokm1/uno-2
 private void OnHypothesisGenerated(string hypothesis)
 {
     HypothesisGenerated?.Invoke(
         this,
         new SpeechRecognitionHypothesisGeneratedEventArgs()
     {
         Hypothesis = new SpeechRecognitionHypothesis()
         {
             Text = hypothesis
         }
     });
 }
コード例 #2
0
 private void SpeechRecognizer_HypothesisGenerated(SpeechRecognizer sender, SpeechRecognitionHypothesisGeneratedEventArgs args)
 {
     HypothesisGenerated?.Invoke(this, args);
 }