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<StandardCategoryId> = emptySet(), val openingHours: OpeningHours? = null, val timeZone: TimeZone? = null)
Content copied to clipboard
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.client.SearchApi.poiCategoriesSearch 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.
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<StandardCategoryId> = emptySet(), openingHours: OpeningHours? = null, timeZone: TimeZone? = null)
Content copied to clipboard