performSearchAsync

fun performSearchAsync(searchString: String): Flow<SearchResult>

Performs a search on the loaded document. The returned Flow emits search results, or fails with an error if search failed for some reason. This method will use the default search options.

Parameters

searchString

Text to find in the document.


fun performSearchAsync(searchString: String, searchOptions: SearchOptions): Flow<SearchResult>

Performs a search on the loaded document. The returned Flow emits search results, or fails with an error if search failed for some reason.

Parameters

searchString

Text to find in the document.

searchOptions

Options for performing search.