sdk-search / com.tomtom.online.sdk.search / SearchApi / poiCategoriesSearch

poiCategoriesSearch

@DeprecatedSince(2020, 7) abstract fun poiCategoriesSearch(query: PoiCategoriesQuery!, listener: PoiCategoriesSearchResultListener!): Unit

Performs a POI Categories search action based on the provided query object, and returns the result with usage of the callback implementation.

Parameters

query - PoiCategoriesQuery!: The object which contains the data necessary to execute a POI Categories search action.

listener - PoiCategoriesSearchResultListener!: The callback which informs the subscriber when the search result is available.

@Beta(2020, 12) abstract fun poiCategoriesSearch(poiCategoriesSpecification: PoiCategoriesSpecification!): Result<MutableList<PoiCategory!>!>!

Performs a synchronous POI Categories search computing action based on the provided PoiCategoriesSpecification object.

Parameters

poiCategoriesSpecification - PoiCategoriesSpecification!: The object which contains the data necessary to execute the POI Categories search action.

Return
Result<MutableList<PoiCategory!>!>!: List of PoiCategory.

@Beta(2020, 12) abstract fun poiCategoriesSearch(specification: PoiCategoriesSpecification!, callback: PoiCategoriesCallback!): Unit

Performs an asynchronous POI Categories search computing action based on the provided PoiCategoriesSpecification object and returns the list of categories in the callback.

Parameters

specification - PoiCategoriesSpecification!: The object which contains the data necessary to execute the POI Categories action.