Foxit PDF SDK
com.foxit.sdk.addon.compliance.ProgressCallback Class Reference

Public Member Functions

void release ()
 A callback function used to release current callback object itself.
More...
 
void updateCurrentStateData (int current_rate, String current_state_string)
 A callback function used to update current progress state data to user in order that user can update their progress bar.
More...
 

Detailed Description

This class represent a callback object to update the progress data to user. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

Member Function Documentation

◆ release()

void com.foxit.sdk.addon.compliance.ProgressCallback.release ( )

A callback function used to release current callback object itself.

Returns
None.

◆ updateCurrentStateData()

void com.foxit.sdk.addon.compliance.ProgressCallback.updateCurrentStateData ( int  current_rate,
String  current_state_string 
)

A callback function used to update current progress state data to user in order that user can update their progress bar.

Parameters
[in]current_rateCurrent rate. It would be between 0 and 100 (inclusive). 100 means finished.
[in]current_state_stringA string that describing what current state is. This may be an empty string.
Returns
None.