NavigationErrorEvent
public enum NavigationErrorEvent
Represents various error events that can occur during navigation.
-
Represents an error event related to the
TomTomSDKNavigationEngines/ArrivalDetectionEngine
.Declaration
Swift
case arrivalEngineFailWithError(ArrivalDetectionEngine, Error)
Parameters
engine
The
TomTomSDKNavigationEngines/ArrivalDetectionEngine
instance that encountered the error.error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/HorizonEngine
.Declaration
Swift
case horizonEngineDidFailWithError(HorizonEngine, Error)
Parameters
engine
The
TomTomSDKNavigationEngines/HorizonEngine
instance that encountered the error.error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/GuidanceEngine
.Declaration
Swift
case guidanceEngineFailWithError(GuidanceEngine, Error)
Parameters
engine
The GuidanceEngine instance that encountered the error.
error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/MapMatchingEngine
.Declaration
Swift
case mapMatchingEngineFailWithError(MapMatchingEngine, Error)
Parameters
engine
The MapMatchingEngine instance that encountered the error.
error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/RouteTrackingEngine
.Declaration
Swift
case routeTrackingEngineFailWithError(RouteTrackingEngine, Error)
Parameters
engine
The RouteTrackingEngine instance that encountered the error.
error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/RouteReplanningEngine
.Declaration
Swift
case routeReplanningEngineFailWithError(RouteReplanningEngine, Error)
Parameters
engine
The RouteReplanningEngine instance that encountered the error.
error
The specific error that occurred.
-
Represents an error event related to the
TomTomSDKNavigationEngines/RouteProgressEngine
.Declaration
Swift
case routeProgressEngineFailWithError(RouteProgressEngine, Error)
Parameters
engine
The RouteProgressEngine instance that encountered the error.
error
The specific error that occurred.
-
Represents a generic error event that occurred during the start of the navigation.
Declaration
Swift
case didStartFailWithError(Error)
Parameters
error
The specific error that occurred.