RouteUpdatedReason
public struct RouteUpdatedReason : RawRepresentable, Hashable
Defines the reasons why a route was updated during the navigation session.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of a custom
RouteUpdatedReason
. Returns nil if the raw value overrides a type created by TomTom.Declaration
Swift
public init?(rawValue: String)
-
Route was refreshed. This is done periodically to ensure it holds the most up-to-date information.
Declaration
Swift
public static let refresh: RouteUpdatedReason
-
The route’s ** instruction / lane guidance ** coverage was extended.
Declaration
Swift
public static let increment: RouteUpdatedReason
-
The raw string of any predefined or custom
RouteUpdatedReason
Declaration
Swift
public let rawValue: String