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
.Declaration
Swift
func calculateProgress(navigationSnapshot: NavigationSnapshot) throws -> RouteProgress
Parameters
navigationSnapshot
The snapshot of the current navigation session.