sdk-search / com.tomtom.online.sdk.search.ev / ChargingStationsCallback

ChargingStationsCallback

@PublicPreview("2021.06") interface ChargingStationsCallback

Callback that informs about a received ChargingStations or respective error.

Functions

onError

abstract fun onError(error: SearchException): Unit

Called when an error occurs during the process of obtaining the ChargingStations.

onSuccess

abstract fun onSuccess(chargingStations: ChargingStations): Unit

Called when a ChargingStations has been successfully obtained.