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

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.

Parameters

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

listener - PoiCategoriesSearchResultListener!: The listener which informs the subscriber when a search result is available. It contains the com.tomtom.online.sdk.common.service.ServiceResponse object.

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.

Parameters

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

Return
Single<PoiCategoriesResponse!>!: Search response's Observable object.