NavigationWaypointSnapshot
data class NavigationWaypointSnapshot(val nextWaypoint: Waypoint?, val numberOfVisitedWaypoints: Int)
Read-only snapshot of the waypoints in the current navigation session.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
nextWaypoint
The Waypoint, which the user currently navigates to or null if none.
numberOfVisitedWaypoints
The number of waypoints already visited on the current route.