onProgress method of the Callback 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.
3/2/2022 12:59:15 PM