Interface ITextSpeaker

  • All Known Implementing Classes:
    TextSpeaker

    public interface ITextSpeaker
    Interface for speech synthesis
    Since:
    2.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void speak​(java.lang.String text, java.util.Locale locale, boolean interrupt)
      Speak the given text
    • Method Detail

      • speak

        void speak​(java.lang.String text,
                   java.util.Locale locale,
                   boolean interrupt)
        Speak the given text
        Parameters:
        text - Text to speak
        locale - Locale of the text to be spoken
        interrupt - true to interrupt any speech that may be in progress or false to let previous speech finish before speaking
        Since:
        2.0.0