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

ReachableAreaCallback

@PublicPreview("2021.06") interface ReachableAreaCallback

Callback that informs 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 successfully obtained.