sdk-search / com.tomtom.online.sdk.search.api.poicategories / PoiCategoriesSearchApi

PoiCategoriesSearchApi

interface PoiCategoriesSearchApi : RxContext

Defines the POI Categories Search API.

Functions

cancelSearchIfRunning

abstract fun cancelSearchIfRunning(): Unit

Cancels the current POI Categories search Request.

poiCategoriesSearch

abstract fun poiCategoriesSearch(query: PoiCategoriesQuery!, listener: PoiCategoriesSearchResultListener!): Unit

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

abstract fun poiCategoriesSearch(query: PoiCategoriesQuery!): Single<PoiCategoriesResponse!>!

Performs a reactive POI categories search action based on the provided query object, and returns the result to Observers subscribed to the returned Observable.