DestinationStatus

sealed class DestinationStatus

The list of route tracking destination statuses. Used to determine how close the current location is to the next destination.

Since

200.1.0

Inheritors

Types

Link copied to clipboard

Approaching destination status. Value returned when provided GPS location gets within 500 meters of the next destination. This status can be used to manually call RouteTracker.switchToNextDestination() if a vehicle can not get closer to a destination to trigger a status of DestinationStatus.Reached.

Link copied to clipboard

Not reached destination status. Default value.

Link copied to clipboard

Reached destination status. Value returned when provided GPS location gets within 7-40 meters, along the route, of the next destination. Once within 40 meters of the next destination the vehicle is tracked to determine if it is getting closer or moving away from the next destination. If the vehicle continues to get closer this value will be returned when within 7 meter of the next destination, if the vehicle starts to move away this value is returned. This status can be used to automatically call RouteTracker.switchToNextDestination().