performSearchAsync

open fun performSearchAsync(@NonNull searchString: String): Flowable<SearchResult>

Performs a search on the loaded document. The returned flowable will emit search results or an error if search failed for some reason. The returned flowable uses BackpressureStrategy#BUFFER. This method will use the default search options.

Parameters

searchString

Text to find in the document.


open fun performSearchAsync(@NonNull searchString: String, @NonNull searchOptions: SearchOptions): Flowable<SearchResult>

Performs a search on the loaded document. The returned flowable will emit search results or an error if search failed for some reason. The returned flowable uses BackpressureStrategy#BUFFER.

Parameters

searchString

Text to find in the document.

searchOptions

Options for performing search.