RouteTrackingState

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

Represents the currently followed and unfollowed routes in the current navigation session.

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 of the routes, false otherwise.

Link copied to clipboard

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