Foxit PDF SDK
FSProgressive Class Reference
Inheritance diagram for FSProgressive:
FSBase

Instance Methods

(int) - getRateOfProgress
 Get the rate of current progress.
More...
 
(id) - initWithOther:
 Constructor, with another progressive object.
More...
 
(FSProgressiveState- resume
 Continue the progressive process.
More...
 

Detailed Description

This class represents a progressive object, which is used for progressive process such as loading document, parsing page and so on.

Method Documentation

◆ getRateOfProgress()

- (int) getRateOfProgress

Get the rate of current progress.

Returns
An integer between 0 and 100 (inclusive), indicating the rate of current progress. -1 means error.

◆ initWithOther:()

- (id) initWithOther: (FSProgressive*)  other

Constructor, with another progressive object.

Parameters
[in]otherAnother progressive object.

◆ resume()

- (FSProgressiveState) resume

Continue the progressive process.

Returns
FSProgressiveFinished means current process is finished successfully.
FSProgressiveToBeContinued means current process is suspended, and this function needs to be called again to continue the process.
FSProgressiveError means any error occurs.