sdk-search / com.tomtom.online.sdk.search.poicategories / PoiCategory / <init>

<init>

PoiCategory(id: Long, name: String, children: List<PoiCategory>, synonyms: List<String>)

Describes the category returned by the POI Categories service.

Parameters

id - Unique ID for the category.

name - Name of the category.

children - List of child subcategories.

synonyms - List of alternative names of the category.