Package-level declarations

Provides data classes which retrieve and configure search results or display smart suggestions related to the user input in the Search UI.

Types

Link copied to clipboard

Information about the retrieved place.

Link copied to clipboard
data class SearchApiParameters(val limit: Int = 10, val typeAhead: Boolean = true, val position: GeoPoint? = null, val radius: Float? = null, val language: Locale? = null) : Parcelable

Parameters used to configure the Search API query.

Link copied to clipboard
data class SearchProperties(val searchApiKey: String, val searchApiParameters: SearchApiParameters = SearchApiParameters(), val commands: List<String> = listOf(), val units: UnitSystem = getDefaultUnitSystem()) : Parcelable

Describes the properties used in com.tomtom.sdk.search.ui.SearchView and com.tomtom.sdk.search.ui.SearchFragment to obtain PlaceDetails elements for a given input query.

Link copied to clipboard
data class SearchSuggestion(val imageResId: Int, val title: String, val subtitle: String, val query: String)

Search suggestion data.