Package com.navmii.sdk.routecalculation
Class RouteCalculationListener
java.lang.Object
com.navmii.sdk.routecalculation.RouteCalculationListener
public abstract class RouteCalculationListener
extends java.lang.Object
Interface describing route calculation status updates.
-
Constructor Summary
Constructors Constructor Description RouteCalculationListener()
-
Method Summary
Modifier and Type Method Description abstract void
onNonFatalRouteCalculationErrorOccurred(RouteCalculationError error)
Is called once non-fatal error occurred during the route calculation process.abstract void
onRouteCalculationFailed(RouteCalculationFailureInfo failureInfo)
Is called once route calculation fails.abstract void
onRouteCalculationSucceeded(RouteCalculationResult result)
Is called once route calculation succeeds.
-
Constructor Details
-
RouteCalculationListener
public RouteCalculationListener()
-
-
Method Details
-
onRouteCalculationSucceeded
Is called once route calculation succeeds. The fact that the callback was called means the route calculation has finished.- Parameters:
result
- Successful route calculation info.
-
onRouteCalculationFailed
Is called once route calculation fails. The fact that the callback was called means the route calculation has finished.- Parameters:
failureInfo
- Unsuccessful route calculation info.
-
onNonFatalRouteCalculationErrorOccurred
Is called once non-fatal error occurred during the route calculation process. The route calculation continues, other callbacks will be called later.- Parameters:
error
- Error code describing the reason the callback was called.
-