onPageIndexed

abstract fun onPageIndexed(@NonNull documentUID: String, @IntRange(from = 0) pageIndex: Int, @NonNull text: String)

Called for each page indexed if enableOnPageIndexedEvents returns true.

Parameters

documentUID

document UID of the document that's indexing.

pageIndex

0-indexed page index of the page processed.

text

text on the page that was indexed into the library.