public static interface IDataCaptureCoreAPI.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.Exception error)
Reports an error.
|
boolean |
onProgress(int percentage,
IDataCaptureCoreAPI.Warning warning)
Approximate progress of the operation.
|
void |
onTextOrientationDetected(int angle)
Text orientation is detected.
|
boolean onProgress(int percentage,
IDataCaptureCoreAPI.Warning warning)
percentage - The percentage of the current work that has already been done.
It is in the range from 0 to 100.warning - A warning reported. Perhaps something should be correctedtrue if the recognition process should be terminated; false, otherwise.void onTextOrientationDetected(int angle)
In the current implementation the result is always returned in normalized coordinates (rotated to normal text orientation)
angle - The angle in degrees (0, 90, 180, 270) for the detected text orientationvoid onError(java.lang.Exception error)
error - The Exception object for the error that has occurred.