-
public interface RecognitionListenerInterface to receive recognition results
-
-
Method Summary
Modifier and Type Method Description abstract voidonPartialResult(String hypothesis)Called when partial recognition result is available. abstract voidonResult(String hypothesis)Called after silence occured. abstract voidonFinalResult(String hypothesis)Called after stream end. abstract voidonError(Exception exception)Called when an error occurs. abstract voidonTimeout()Called after timeout expired -
-
Method Detail
-
onPartialResult
abstract void onPartialResult(String hypothesis)
Called when partial recognition result is available.
-
onFinalResult
abstract void onFinalResult(String hypothesis)
Called after stream end.
-
onTimeout
abstract void onTimeout()
Called after timeout expired
-
-
-
-