TomTomNavigationErrorDelegate
public protocol TomTomNavigationErrorDelegate : AnyObject
The TomTomNavigationErrorDelegate defines methods to report errors that occur during navigation.
Important
This is a Public Preview API. It may be changed or removed at any time.-
tomTomNavigation(_:
Default implementationarrivalEngine: didFailWithError: ) Reports that the arrival engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation(_ navigation: Navigation, arrivalEngine: ArrivalDetectionEngine, didFailWithError: Error)
-
tomTomNavigation(_:
Default implementationdeviationEngine: didFailWithError: ) Reports that the deviation engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation(_ navigation: Navigation, deviationEngine: RouteDeviationEngine, didFailWithError: Error)
-
tomTomNavigation(_:
Default implementationguidanceEngine: didFailWithError: ) Reports that the guidance engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation(_ navigation: Navigation, guidanceEngine: GuidanceEngine, didFailWithError: Error)
-
tomTomNavigation(_:
Default implementationlocationContextDetectionEngine: didFailWithError: ) Reports that the location context detection engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation( _ navigation: Navigation, locationContextDetectionEngine: LocationContextDetectionEngine, didFailWithError: Error )
-
tomTomNavigation(_:
Default implementationrouteProgressDetectionEngine: didFailWithError: ) Reports that the route progress detection engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation( _ navigation: Navigation, routeProgressDetectionEngine: RouteProgressDetectionEngine, didFailWithError: Error )
-
tomTomNavigation(_:
Default implementationmapMatchingEngine: didFailWithError: ) Reports that the map matching engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation(_ navigation: Navigation, mapMatchingEngine: MapMatchingEngine, didFailWithError: Error)
-
tomTomNavigation(_:
Default implementationrouteReplanningEngine: didFailWithError: ) Reports that the route replanning engine has detected an error.
Default Implementation
Declaration
Swift
func tomTomNavigation( _ navigation: Navigation, routeReplanningEngine: RouteReplanningEngine, didFailWithError: Error )