EmbeddedFilesCallback

Callback interface for progressive embedded files loading.

Functions

Link copied to clipboard
open fun onError(@NonNull error: Throwable)
Called if an error occurs during processing.
Link copied to clipboard
abstract fun onFilesFound(@NonNull allFiles: Collection<EmbeddedFile>, @NonNull newFiles: Collection<EmbeddedFile>, currentPage: Int, isComplete: Boolean): Boolean
Called when embedded files are discovered.
Link copied to clipboard
open fun onPageProgress(currentPage: Int, totalPages: Int): Boolean
Called to report progress through document pages.