Enumerations

The following enumerations are available globally.

NavigationStartError

  • NavigationStartError contains information about any problems that occur during navigation. The detailed meaning of each error is provided via the message variable.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum NavigationStartError : Error

NavigationMode

  • The mode of navigation after start.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public enum NavigationMode

NavigationEvent

  • Represents the NavigationEvent published by TomTomNavigation\eventPublisher.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum NavigationEvent

GuidanceEngineError

  • Defines the error cases that can occur while generating guidance steps.

    See more

    Declaration

    Swift

    public enum GuidanceEngineError : Error

TriggerType

  • The type of an individual trigger that appears on the route.

    The trigger may be differentiated by its distance to the maneuver point. Although, this type doesn’t provide any distance information, it describes a triggering point by its location on the route. For example:

    • follow trigger is in range 30...20 km from the maneuver point.
    • faraway trigger is in range 12...10 km from the maneuver point.
    • early trigger is in range 5...4 km from the maneuver point.
    • main trigger is in range 1.2...1 km from the maneuver point.
    • confirmation trigger is in range 50...20 meters from the maneuver point.

      Important

      This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum TriggerType : CaseIterable, Hashable
    extension TriggerType: Comparable

TriggeringInstructionType

  • The types of instruction that are defined for different configuration variants.

    The navigation system invokes guiding instructions for every maneuver to show the driver along the route. Driving instructions that get triggered have a type which is announced visually and audibly.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum TriggeringInstructionType : Hashable, CaseIterable

TriggeringRegion

  • A region for which the triggering config variant is applicable.

    If you want to differentiate the triggers based on the country, you should specify the region while declaring config variants.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum TriggeringRegion : Hashable, CaseIterable
  • Errors which may be thrown during navigation creation.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum NavigationFactoryError : LocalizedError

ProgressInterpolatorError

  • SegmentsFilterError defines the errors that can occur while fetching the route progress.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum ProgressInterpolatorError : Error