SearchProperties

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
data class SearchProperties(val searchApiKey: String, val searchApiParameters: SearchApiParameters = SearchApiParameters(), val commands: List<String> = listOf(), val units: UnitSystem = getDefaultUnitSystem()) : Parcelable

Deprecated

This will be removed from future releases after 2026-07-26.

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.

Constructors

Link copied to clipboard
constructor(searchApiKey: String, searchApiParameters: SearchApiParameters = SearchApiParameters(), commands: List<String> = listOf(), units: UnitSystem = getDefaultUnitSystem())

Properties

Link copied to clipboard
Link copied to clipboard

Key required for Search API queries.

Link copied to clipboard

Search parameters used when constructing a query.

Link copied to clipboard

Specifies the preferred system of measurement of the search results.

Inherited functions

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