ru.dgis.sdk.directory.SearchOptions | Android SDK | Urbi Documentation
Android SDK

SearchOptions

Options for creating SearchLayout.

SearchOptions(
	searchType: SearchType = SearchType.defaultSearchType,
	pageSize: Int = defaultPageSize,
	sortingType: SortingType = SortingType.BY_RELEVANCE,
	suggestorType: SuggestorType = SuggestorType.OBJECT
)

Options for creating SearchLayout.

Parameters
searchType
pageSize
sortingType
suggestorType
Returns
Properties

Search engine type. Possible values ​​depend on the SDK delivery type. See SearchType for details. The default value depends on the SDK delivery type.

Limit on the number of hints in suggest and of search results. Valid values ​​range from 1 to 50. Default: 10.

Search results sorting type. Default: SortingType.BY_RELEVANCE.

Suggester type. Default: SuggestorType.GENERAL