Exemple #1
0
 /// <summary>
 /// Stop speech.
 /// </summary>
 /// <param name="boundary">Whether to stop immediately or at word.</param>
 public static bool Stop(AVSpeechBoundary boundary = AVSpeechBoundary.Immediate)
 {
     if (_syn == null)
     {
         return(false);
     }
     return(_syn.StopSpeakingAtBoundary(boundary));
 }
Exemple #2
0
 /// <summary>
 /// Stop speech.
 /// </summary>
 /// <param name="boundary">Whether to stop immediately or at word.</param>
 public static bool Stop(AVSpeechBoundary boundary = AVSpeechBoundary.Immediate)
 {
     if (_syn == null)
         return false;
     return _syn.StopSpeakingAtBoundary(boundary);
 }