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

IPlaceByIdQuery

interface IPlaceByIdQuery

PlaceByIdQuery is an interface designed to transfer SearchAPI parameters in a readable manner by implementing class: PlaceByIdQueryBuilder. The PlaceByIdQuery instance can be constructed using the associated PlaceByIdQueryBuilder class. Once constructed, the user cannot change the field values.

Functions

withLanguage

abstract fun withLanguage(language: String!): IPlaceByIdQuery

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).

Inheritors

PlaceByIdQueryBuilder

class PlaceByIdQueryBuilder : IPlaceByIdQuery

Builder class used to create PlaceByIdQuery.