sdk-search / com.tomtom.online.sdk.search.data.placebyid / PlaceByIdQueryBuilder

PlaceByIdQueryBuilder

class PlaceByIdQueryBuilder : IPlaceByIdQuery

Builder class used to create PlaceByIdQuery.

Constructors

<init>

PlaceByIdQueryBuilder(placeId: String)

Builder class used to create PlaceByIdQuery.

Functions

build

fun build(): PlaceByIdQuery

Creates new instance of PlaceByIdQuery.

withLanguage

fun withLanguage(language: String): PlaceByIdQueryBuilder

The language in which search results should be returned. It should be one of the supported IETF language tags, case insensitive. When data in a specified language is not available for a specific field, the default langauge is used (English).

Companion Object Functions

create

fun create(placeId: String): PlaceByIdQueryBuilder

Builder used to create an instance of PlaceByIdQuery, once constructed, the user cannot change the field values.