EngineActions
public protocol EngineActions
EngineActions defines the actions and properties provided by the the navigation service.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Starts navigation with the default routing.
Declaration
Swift
func start(onError: NavigationStartErrorCompletion?)Parameters
onErrorThe NavigationStartErrorCompletion to call if any errors occur during navigation.
-
Starts navigation with a custom route plan.
Declaration
Swift
func start(routePlan: RoutePlan, onError: NavigationStartErrorCompletion?)Parameters
routePlanRoutePlanto be used during navigation sessiononErrorThe NavigationStartErrorCompletion to call if any errors occur during navigation.
-
Updates the route plan during ongoing navigation.
Declaration
Swift
func update(routePlan: RoutePlan, onError: NavigationStartErrorCompletion?)Parameters
routePlanRoutePlanto be used during navigation sessiononErrorThe NavigationStartErrorCompletion to call if any errors occur during navigation.
-
Stops the current navigation.
Declaration
Swift
func stop()
EngineActions Protocol Reference