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