Package 

Interface TtsEngine.Listener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onStart(TtsEngine.RequestId requestId) Called when the utterance with the given id starts as perceived by the caller.
      abstract Unit onRange(TtsEngine.RequestId requestId, IntRange range) Called when the TtsEngine is about to speak the specified range of the utterance with the given id.
      abstract Unit onInterrupted(TtsEngine.RequestId requestId) Called if the utterance with the given id has been stopped while in progress by a call to stop.
      abstract Unit onFlushed(TtsEngine.RequestId requestId) Called when the utterance with the given id has been flushed from the synthesis queue by a call to stop.
      abstract Unit onDone(TtsEngine.RequestId requestId) Called when the utterance with the given id has successfully completed processing.
      abstract Unit onError(TtsEngine.RequestId requestId, E error) Called when an error has occurred during processing of the utterance with the given id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait