Package com.tomtom.sdk.search.client.poicategories

Types

Link copied to clipboard

Callback to report when the PoiCategoriesSearchResponse has been received or an error detected.

Link copied to clipboard
class PoiCategoriesSearchError(val message: String = "") : SearchError

Error caused by a failure while calling the POI Categories Search API. Contains information about the cause of the failure.

Link copied to clipboard
data class PoiCategoriesSearchOptions @JvmOverloads constructor(val language: String? = null)

Defines the parameters of a POI Categories Search query.

Link copied to clipboard
data class PoiCategoriesSearchResponse(val categories: List<PoiCategory>)

Response of the POI Categories Search API.

Link copied to clipboard
data class PoiCategory(    val id: Long,     val name: String,     val children: List<PoiCategory>,     val synonyms: List<String>) : Parcelable

Describes the category returned by the POI Categories service.