sdk-routing / com.tomtom.online.sdk.routing.reachablerange / ReachableAreaCallback

ReachableAreaCallback

@Beta(2020, 12) interface ReachableAreaCallback

Callback which is responsible to inform about a received ReachableRangeArea or respective error.

Functions

onError

abstract fun onError(error: RoutingException): Unit

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

onSuccess

abstract fun onSuccess(reachableArea: ReachableRangeArea): Unit

Called when a ReachableRangeArea has been obtained successfully.