SearchService

Provides a way to search terms in a publication.

Inheritors

Types

Link copied to clipboard
data class Options(val caseSensitive: Boolean? = null, val diacriticSensitive: Boolean? = null, val wholeWord: Boolean? = null, val exact: Boolean? = null, val language: String? = null, val regularExpression: Boolean? = null, val otherOptions: Map<String, String> = emptyMap()) : Parcelable

Holds the available search options and their current values.

Properties

Link copied to clipboard

Default value for the search options of this service.

Functions

Link copied to clipboard
open override fun close()

Closes any opened file handles, removes temporary files, etc.

Link copied to clipboard
abstract suspend fun search(query: String, options: SearchService.Options? = null): SearchIterator

Starts a new search through the publication content, with the given query.