RouteProgressDetectionEngine
public protocol RouteProgressDetectionEngine : ManagableEngine
The RouteProgressDetectionEngine 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
RouteNavigationSnapshot
.Declaration
Swift
func calculateProgress(navigationSnapshot: RouteNavigationSnapshot) throws -> RouteProgress
Parameters
navigationSnapshot
A navigation snapshot.