PdfSearchView

Types

Link copied to clipboard
interface Listener

Listener for observing the search view.

Properties

Link copied to clipboard

Config options for search

Functions

Link copied to clipboard
abstract fun clearSearch()

Clears the search input field as well as any previously collected search results. This will also cancel any currently running search operation. Implementations of PdfSearchView need to call Listener.onSearchCleared on the current listener.

Link copied to clipboard
abstract fun isShown(): Boolean

Returns the value returned when callingView.isShown on the search view.

Link copied to clipboard
abstract fun setInputFieldText(text: String, startSearch: Boolean)

Inserts text in search input field and optionally starts search.

Link copied to clipboard
abstract fun setSearchViewListener(searchViewListener: PdfSearchView.Listener?)

Sets a listener to be notified of search events on this view. May be null to remove any previously set listener.