onError method of the Callback interface
Called when an error occurs.
Note: Result may contain some captured images. Call clear method to remove them from the page storage, if you do not want to save them for further use.
This method is to be implemented on the client side, which may include displaying the error description to the user or handling it otherwise.
@MainThread
void onError(
Exception exception,
Result result
);
Parameters
- exception
- The Exception object for the error that has occurred.
- result
- The result of the multipage capture scenario, represented by the Result class object.
02.03.2022 12:59:15