@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)
PSPDFProcessorinstance that’s notifying the delegate.
An unsigned integer representing the page that just completed processing.
The total number of pages that the
PSPDFProcessorneeds to process.
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.
- (void)processorCancelled:(nonnull PSPDFProcessor *)processor;
optional func processorCancelled(_ processor: PSPDFProcessor)