NavigationOptions

public struct NavigationOptions

Navigation options define parameters required to start or update a navigation session.

To specify navigation options, first plan a TomTomSDKRoute/Route using TomTomSDKRoutePlanner/RoutePlanner and TomTomSDKRoutePlanner/RoutePlanningOptions, then create a RoutePlan.

For more information on navigation session see: start(), start(navigationOptions:), update(navigationOptions:) and stop().

Lifecycle

  • Creates an instance of NavigationOptions.

    Declaration

    Swift

    public init(activeRoutePlan: RoutePlan)

    Parameters

    activeRoutePlan

    Currently active RoutePlan.

Public

  • Currently active RoutePlan.

    Declaration

    Swift

    public let activeRoutePlan: RoutePlan