Poi

data class Poi(val names: Set<String>, val phones: Set<String> = emptySet(), val emails: Set<String> = emptySet(), val brands: Set<Brand> = emptySet(), val urls: Set<String> = emptySet(), val categoryIds: Set<CategoryId> = emptySet(), val openingHours: OpeningHours? = null, val timeZone: TimeZone? = null, val chargingPark: ChargingPark? = null)

Point Of Interest retrieved via a Search API call.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun Poi(names: Set<String>, phones: Set<String> = emptySet(), emails: Set<String> = emptySet(), brands: Set<Brand> = emptySet(), urls: Set<String> = emptySet(), categoryIds: Set<CategoryId> = emptySet(), openingHours: OpeningHours? = null, timeZone: TimeZone? = null, chargingPark: ChargingPark? = null)

Properties

Link copied to clipboard

The brands this Point Of Interest belongs to.

Link copied to clipboard

The categories (identifiers) this Point Of Interest belongs to. Use com.tomtom.sdk.search.Search.requestPoiCategories to get a list of the available categories with their ids and details.

Link copied to clipboard

Present only when the Points of Interest are of the Electric Vehicle Station category type.

Link copied to clipboard

The email addresses of the Point Of Interest.

Link copied to clipboard

The names of the Point Of Interest.

Link copied to clipboard

The Point Of Interest's opening hours in its local time zone.

Link copied to clipboard

The phone numbers of the Point Of Interest.

Link copied to clipboard
val timeZone: TimeZone? = null

The Point Of Interest TimeZone.

Link copied to clipboard

The URL addresses of the Point Of Interest website(s).