@PublicPreview("2021.06") interface MatrixRoutesCallback
Callback that informs 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 successfully obtained. |