Package com.myscript.iink
Interface IRecognizerListener
public interface IRecognizerListener
The listener interface for receiving recognizer events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(@NotNull Recognizer recognizer, @NotNull RecognizerError err, @NotNull String message) Invoked when an error has occurred.voidresultChanged(@NotNull Recognizer recognizer, @NotNull String result) Invoked when the content has changed.
-
Method Details
-
resultChanged
Invoked when the content has changed.- Parameters:
recognizer- the recognizer on which the result has changed.result- the new result.
-
onError
void onError(@NotNull @NotNull Recognizer recognizer, @NotNull @NotNull RecognizerError err, @NotNull @NotNull String message) Invoked when an error has occurred.- Parameters:
recognizer- the recognizer associated with block on which the error has occurred.err- the error code corresponding to the error.message- the error message.
-