sdk-search / com.tomtom.online.sdk.search.data.poicategories / PoiCategoriesQueryBuilder / withLanguage

withLanguage

fun withLanguage(language: String): PoiCategoriesQueryBuilder

Overrides IPoiCategoriesQuery.withLanguage

Language in which the poi categories should be returned. Should be one of supported IETF language tags. When language is not specified english is used as a default.

Parameters

language - language in search result should be returned.

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