コード例 #1
0
 /// <summary>
 /// Error handler function
 /// </summary>
 /// <param name="e">The exception</param>
 private void Error(GenericEventArgs <Exception> e)
 {
     this.OnError?.Invoke(this, e);
 }
コード例 #2
0
 /// <summary>
 /// Called when a TTS requst has been successfully completed and audio is available.
 /// </summary>
 private void AudioAvailable(GenericEventArgs <Stream> e)
 {
     this.OnAudioAvailable?.Invoke(this, e);
 }