FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
|
The TaskProgress interface defines a process manager. More...
Public Member Functions | |
void | cancel () |
Cancel task. More... | |
number | getCurrentProgress () |
Get Progress. More... | |
onProgress (callback:(this:TaskProgress< T >, data:T)=> void) | |
Register a callback that is used to get data when the progress is updated. More... | |
The TaskProgress interface defines a process manager.
void cancel | ( | ) |
Cancel task.
number getCurrentProgress | ( | ) |
Get Progress.
onProgress | ( | callback:(this:TaskProgress< T >, data:T) | , |
void | |||
) |
Register a callback that is used to get data when the progress is updated.
callback | (this: TaskProgress<T>, data: T) => void - (this, data) => { console.log(data); } |