SearchProperties
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.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
searchApiKey
Key required for Search API queries.
searchApiParameters
Search parameters used when constructing a query.
commands
List of commands that can recognized by the com.tomtom.sdk.search.ui.SearchView and trigger the com.tomtom.sdk.search.ui.SearchViewListener.onCommandInsert.
units
Specifies the preferred system of measurement of the search results.
Constructors
Link copied to clipboard
constructor(searchApiKey: String, searchApiParameters: SearchApiParameters = SearchApiParameters(), commands: List<String> = listOf(), units: UnitSystem = getDefaultUnitSystem())