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 entryPoints: List<EntryPoint> = emptyList(), 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.

Parameters

names

The names of the Point Of Interest.

phones

The phone numbers of the Point Of Interest.

emails

The email addresses of the Point Of Interest.

brands

The brands this Point Of Interest belongs to.

urls

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

categoryIds

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.

openingHours

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

timeZone

The Point Of Interest TimeZone.

entryPoints

A list of entrances to the Point Of Interest.

chargingPark

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

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, entryPoints: List<EntryPoint> = emptyList(), chargingPark: ChargingPark? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val timeZone: TimeZone? = null
Link copied to clipboard