LibraryIndexingListener

Listener to monitor indexing progress.

Functions

Link copied to clipboard
Whether onPageIndexed callback should be called for each page indexed.
Link copied to clipboard
abstract fun onFinishIndexingDocument(@NonNull documentUID: String, success: Boolean)
Called when a document finishes indexing.
Link copied to clipboard
abstract fun onPageIndexed(@NonNull documentUID: String, @IntRange(from = 0) pageIndex: Int, @NonNull text: String)
Called for each page indexed if enableOnPageIndexedEvents returns true.
Link copied to clipboard
abstract fun onStartIndexingDocument(@NonNull documentUID: String)
Called when a document starts indexing.