예제 #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));
 }
예제 #2
0
파일: SpeechXT.cs 프로젝트: BiDuc/u3dxt
 /// <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);
 }