UnfollowedRoute

constructor(route: Route, backToRoutePoint: GeoPoint, reason: UnfollowedRouteReason)

Constructor to set the reason why the route is marked as unfollowed.

Parameters

route

the route that is not being followed.

backToRoutePoint

the closest point for back on the route.

reason

the UnfollowedRouteReason why the route is marked as unfollowed.


constructor(route: Route, backToRoutePoint: GeoPoint)