RouteProgressEngine
public protocol RouteProgressEngine : ManageableEngine
                The RouteProgressEngine protocol provides functionality related to the calculation of progress along the route.
Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  
Calculates progress along the route which can base on passed
NavigationSnapshot.Throws
NavigationProcessingError.routeDataMissingif there is no active route.RouteProgressCalculationErrorif error occured during route progress calculation.Declaration
Swift
func calculateProgress(navigationSnapshot: NavigationSnapshot) throws -> [UUID : RouteProgress]Parameters
navigationSnapshotThe snapshot of the current navigation session.
Return Value
A map of
RouteProgressinstances with route IDs as keys. 
        
 
          TomTom SDK for iOS (0.51.1)
        
          RouteProgressEngine