Enumerations
The following enumerations are available globally.
-
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.Declaration
Swift
public enum NavigationStartError : Error
-
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
-
Represents the
NavigationEvent
published byTomTomNavigation\eventPublisher
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum NavigationEvent
-
Defines the error cases that can occur while generating guidance steps.
See moreDeclaration
Swift
public enum GuidanceEngineError : Error
-
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 range30...20 km
from the maneuver point.faraway
trigger is in range12...10 km
from the maneuver point.early
trigger is in range5...4 km
from the maneuver point.main
trigger is in range1.2...1 km
from the maneuver point.confirmation
trigger is in range50...20 meters
from the maneuver point.Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public enum TriggerType : CaseIterable, Hashable
extension TriggerType: Comparable
-
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.Declaration
Swift
public enum TriggeringInstructionType : Hashable, CaseIterable
-
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.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.Declaration
Swift
public enum NavigationFactoryError : LocalizedError
-
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.Declaration
Swift
public enum ProgressInterpolatorError : Error