@Beta(2020, 12) interface BatchRoutesCallback
Callback which is responsible to inform about a received BatchRoutesPlan or respective error.
abstract fun onError(error: RoutingException): Unit
Called when an error occurs during the process of obtaining the BatchRoutesPlan. |
|
abstract fun onSuccess(routePlan: BatchRoutesPlan): Unit
Called when a BatchRoutesPlan has been obtained successfully. |