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

ChargingStationsCallback

@Beta(2020, 12) interface ChargingStationsCallback

Callback which is responsible to inform 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 obtained successfully.