SearchProperties

data class SearchProperties(    val searchApiKey: String,     val searchApiParameters: SearchApiParameters = SearchApiParameters(),     val commands: List<String> = listOf(),     val units: Units = Units.AUTO) : Parcelable

Describes the properties used in com.tomtom.sdk.search.ui.SearchView and com.tomtom.sdk.search.ui.SearchFragment to obtain Place 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
fun SearchProperties(    searchApiKey: String,     searchApiParameters: SearchApiParameters = SearchApiParameters(),     commands: List<String> = listOf(),     units: Units = Units.AUTO)

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
val commands: List<String>
Link copied to clipboard
val searchApiKey: String
Link copied to clipboard
val searchApiParameters: SearchApiParameters
Link copied to clipboard
val units: Units