Beispiel #1
0
 /// <summary>
 /// Error handler function
 /// </summary>
 /// <param name="e">The exception</param>
 private void Error(GenericEventArgs <Exception> e)
 {
     this.OnError?.Invoke(this, e);
 }
Beispiel #2
0
 public void ErrorHandler(object sender, GenericEventArgs <Exception> e)
 {
     LogControl.Write("[TTS] : Unable to complete the TTS request | " + e.ToString());
 }
Beispiel #3
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);
 }