LongOperationCancelCallback

A callback that is used in the SDK allowing developers to cancel time-consuming operations (e.g. page extraction from a PDF file).

Functions

Link copied to clipboard
abstract fun isCanceled(): Boolean

Will be called after every bit of progress (e.g. after every processed page/file before iterating to the next page/file) to check if processing was externally canceled and needs to be stopped.