Foxit PDF SDK
FoxitPDFSDKPython3.ProgressCallback Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def Release ()
 A callback function used to release current callback object itself.
More...
 
def UpdateCurrentStateData (current_rate, 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()

def FoxitPDFSDKPython3.ProgressCallback.Release ( )

A callback function used to release current callback object itself.

Returns
None.

◆ UpdateCurrentStateData()

def FoxitPDFSDKPython3.ProgressCallback.UpdateCurrentStateData (   current_rate,
  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.