Package com.mapfactor.sdk.routing
Interface RouteCalculationResultListener
public interface RouteCalculationResultListener
Route calculation listener
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRouteCalculated
(List<RouteInfo> routesInfo) Called when route calculation successfully finishedvoid
Called when route calculation has failed
-
Method Details
-
onRouteCalculated
Called when route calculation successfully finished- Parameters:
routesInfo
- calculated routes info- Since:
- 1.0
-
onRouteCalculationFailed
Called when route calculation has failed- Parameters:
errorCode
- failure code- Since:
- 1.0
-