RTRProgressCallbackBlock
This is a type definition for approximate progress of the operation block that will be passed to the methods of data capturing or text recognition as an onProgress parameter.
typedef BOOL (RTRProgressCallbackBlock)(NSInteger percentage, RTRCallbackWarningCode warningCode);
Parameters
- percentage
- The approximate percentage of the work currently done. This parameter is in the range from 0 to 100.
- warningCode
- A warning that occurred during processing represented by an RTRCallbackWarningCode constant.
Return values
The block must return NO if the recognition process should be terminated, TRUE otherwise.
02.03.2022 12:59:15