RouteTrackingState

class RouteTrackingState(val followedRoutes: List<Route>, val unfollowedRoutes: List<UnfollowedRoute>)

Represents the RouteTrackingState of the current navigation session.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(followedRoutes: List<Route>, unfollowedRoutes: List<UnfollowedRoute>)

Properties

Link copied to clipboard

The list of routes that are currently being followed.

Link copied to clipboard

If the user does not follow any of the routes in the navigation session, it means that the user has deviated. True if the user has deviated from all routes, false otherwise.

Link copied to clipboard

The list of UnfollowedRoute that are not being followed, but are still relevant to the navigation session. Unfollowing the route means that the user has deviated from it.