Package 

Interface RecognitionListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onPartialResult(String hypothesis) Called when partial recognition result is available.
      abstract void onResult(String hypothesis) Called after silence occured.
      abstract void onFinalResult(String hypothesis) Called after stream end.
      abstract void onError(Exception exception) Called when an error occurs.
      abstract void onTimeout() Called after timeout expired
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onPartialResult

         abstract void onPartialResult(String hypothesis)

        Called when partial recognition result is available.

      • onResult

         abstract void onResult(String hypothesis)

        Called after silence occured.

      • onError

         abstract void onError(Exception exception)

        Called when an error occurs.

      • onTimeout

         abstract void onTimeout()

        Called after timeout expired