PdfViewSearchStatus

sealed interface PdfViewSearchStatus

Current document-search lifecycle.

Inheritors

Types

Link copied to clipboard
data class Completed(val query: String, val resultCount: Int) : PdfViewSearchStatus

The search finished successfully.

Link copied to clipboard
data class Failed(val query: String, val error: Throwable) : PdfViewSearchStatus

The search aborted with an error; collected results are cleared.

Link copied to clipboard

No search has been started, or the previous one was cleared.

Link copied to clipboard
data class Searching(val query: String, val completedPageCount: Int, val totalPageCount: Int) : PdfViewSearchStatus

A search is running and results arrive page by page.