@PublicPreview("2021.06") interface PoiCategoriesCallback
Callback that informs about a received list of the PoiCategory or respective error.
abstract fun onError(error: SearchException): Unit
Called when an error occurs during the process of obtaining the PoiCategories. |
|
abstract fun onSuccess(poiCategories: List<PoiCategory>): Unit
Called when a PoiCategories has been successfully obtained. |