SearchConfiguration

data class SearchConfiguration(val startSearchChars: Int = DEFAULT_START_SEARCH_CHARS, val snippetLength: Int = DEFAULT_SNIPPET_LENGTH, val startSearchOnCurrentPage: Boolean = false, val maxSearchResults: Int? = null) : Parcelable

Class containing search configuration properties.

Constructors

Link copied to clipboard
constructor(startSearchChars: Int = DEFAULT_START_SEARCH_CHARS, snippetLength: Int = DEFAULT_SNIPPET_LENGTH, startSearchOnCurrentPage: Boolean = false, maxSearchResults: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val maxSearchResults: Int? = null

Maximum search results. null if not set.

Link copied to clipboard

The search snippet length, which is a number of letters displayed in the search result preview.

Link copied to clipboard

The number of letter after which the search starts.

Link copied to clipboard

true if the search should be started on the current page, false to start from the beginning.