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

PoiCategoriesSearchResultListener

interface PoiCategoriesSearchResultListener

Listener for the POI Categories search results.

Functions

onSearchError

abstract fun onSearchError(error: SearchError!): Unit

Method responsible to handle the POI Categories search Response when the search returns an error. Within this callback the user will obtain a SearchError containing a Throwable fail reason.

onSearchResult

abstract fun onSearchResult(poiCategoriesResponse: PoiCategoriesResponse!): Unit

Method responsible to handle the POI Categories search Response when the search returns results. Within this callback the user will obtain a Response populated with the PoiCategory results.