performSearch

open fun performSearch(@NonNull searchString: String): List<SearchResult>

Performs a search on the loaded document, returning a list of all search results. This method will use the default search options. If search does not find any results, this method will return an empty list.

Parameters

searchString

Text to find in the document.


open fun performSearch(@NonNull searchString: String, @NonNull searchOptions: SearchOptions): List<SearchResult>

Performs a search on the loaded document, returning a list of all search results. If search does not find any results, this method will return an empty list.

Parameters

searchString

Text to find in the document.

searchOptions

Options for performing search.