onProgress method of the TextRecognitionCallback interface

Reports the approximate percentage of operation completed and delivers the warnings that occurred during processing. Allows you to cancel processing.

This method is to be implemented on the client side, which may include a progress indicator and/or a message to the user about the warnings.

boolean onProgress( int percentage, Warning warning );

Parameters

percentage
The approximate percentage of the work currently done. This parameter is in the range from 0 to 100.
warning
The warning which occurred, if any; represented by a constant of the Warning enumeration.

Return values

The method should return true if you wish to terminate the current operation, false otherwise.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.