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

withLanguage

fun withLanguage(language: String): PlaceByIdQueryBuilder

Overrides IPlaceByIdQuery.withLanguage

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

Parameters

language - The language in which search results should be returned.

Return
the builder of the query with new value for language set.