Class SearchConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SearchConfiguration implements Parcelable
Class containing search configuration properties.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Integer
DEFAULT_START_SEARCH_CHARS
public final static Integer
DEFAULT_SNIPPET_LENGTH
private final Integer
startSearchChars
private final Integer
snippetLength
private final Boolean
startSearchOnCurrentPage
private final Integer
maxSearchResults
-
Constructor Summary
Constructors Constructor Description SearchConfiguration(Integer startSearchChars, Integer snippetLength, Boolean startSearchOnCurrentPage, Integer maxSearchResults)
-
Method Summary
Modifier and Type Method Description final Integer
getStartSearchChars()
The number of letter after which the search starts. final Integer
getSnippetLength()
The search snippet length, which is a number of letters displayed in the search result preview. final Boolean
getStartSearchOnCurrentPage()
true
if the search should be started on the current page,false
to start from the beginning.final Integer
getMaxSearchResults()
Maximum search results. -
-
Method Detail
-
getStartSearchChars
final Integer getStartSearchChars()
The number of letter after which the search starts.
-
getSnippetLength
final Integer getSnippetLength()
The search snippet length, which is a number of letters displayed in the search result preview.
-
getStartSearchOnCurrentPage
final Boolean getStartSearchOnCurrentPage()
true
if the search should be started on the current page,false
to start from the beginning.
-
getMaxSearchResults
final Integer getMaxSearchResults()
Maximum search results.
null
if not set.
-
-
-
-