@PublicPreview("2021.06") interface PoiPhotoCallback
Callback which is responsible to inform about a received Bitmap or respective error.
abstract fun onError(error: SearchException): Unit
Called when an error occurs during the process of obtaining the photo. |
|
abstract fun onSuccess(bitmap: Bitmap): Unit
Called when a POI Photo has been successfully downloaded. |