@PublicPreview("2021.06") interface RouteCallback
Callback to inform about a received RoutePlan or respective error.
abstract fun onError(error: RoutingException): Unit
Called when an error occurs during the process of obtaining the RoutePlan. |
|
abstract fun onSuccess(routePlan: RoutePlan): Unit
Called when a RoutePlan has been successfully obtained. |