create
fun create(routePlanner: RoutePlanner, alternateRoutePlanner: RoutePlanner, executionPolicy: ExecutionPolicy = ExecutionPolicy.Fallback): RoutePlanner
Deprecated
This API is deprecated, for more details please go to: https://developer.tomtom.com/navigation/android/releases/versions/2.1
Creates an instance of RoutePlanner, which wraps two RoutePlanners and applies orchestration logic depending on the execution policy.
Parameters
routePlanner
The routing API to try first.
alternateRoutePlanner
The routing API to use if the primary one fails.
executionPolicy
The execution policy to use for api orchestration.