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
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())

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard