@protocol PSPDFProcessorDelegate <NSObject>
protocol ProcessorDelegate : NSObjectProtocol
The type implementing this protocol can receive updates from a
Notifies the delegate that a page has completed processing.
- (void)processor:(nonnull PSPDFProcessor *)processor didProcessPage:(NSUInteger)currentPage totalPages:(NSUInteger)totalPages;
optional func processor(_ processor: PSPDFProcessor, didProcessPage currentPage: UInt, totalPages: UInt)
Notifies the delegate that a request to cancel documents currently being processed has been received.
This method being called does not necessarily mean that the processing itself has stopped altogether, but that the cancellation has been requested and will happen sometime in the future.
optional func processorCancelled(_ processor: PSPDFProcessor)