HybridRoutePlanner
Deprecated
This API is deprecated, for more details please go to: https://developer.tomtom.com/navigation/android/releases/versions/2.0
Hybrid Routing allows you to specify two RoutePlanner instances, which will be executed depending on the ExecutionPolicy provided.
Functions
Calculates route contents (instructions, lane guidance and junction views) for the first sequence of instructions following the last successful increment.
Synchronously plans a route to return to the original route using the provided BackToRouteOptions object.
Asynchronously plans a route to return to the original route using the provided BackToRouteOptions object.
Cancels any ongoing plannings, and releases the resources used by the planner. Implementation of AutoCloseable.close.
Synchronously plans a route and its alternative routes using the provided RoutePlanningOptions object. If the call succeeds, returns a RoutePlanningResponse. If it fails, returns a RoutingFailure.
Asynchronously plans a route and its alternative routes using the provided RoutePlanningOptions. If the operation succeeds, RoutePlanningCallback.onSuccess is called with a RoutePlanningResponse. If the operation fails, RoutePlanningCallback.onFailure is called with a RoutingFailure.