Defines route tracking current status data. Contains information about route tracker status. Subscribe to RouteTrackerTrackingStatusChangedEvent for getting all updates in the event model.
The display location. If current location isOnRoute = true then this will be an adjusted location (snapped to route) and bearing (smoothed). If current location isOnRoute = false then this will be the passed in GPS location, but with an adjusted bearing (smoothed). This location should be used for displaying current position on a map.
The location on route. Snapped to route location of last GPS location passed in to RouteTracker.trackLocation(Location). If current status is isOnRoute = true this will be the same as the TrackingStatus.displayLocation. If current status is isOnRoute = false this value is not updated and last location that was on the route will be returned.
The remaining destination count. The number of (routed) stops yet to be visited. This value does not include waypoints, unlocated/unrouted locations. Calling RouteTracker.switchToNextDestination() will decrease value. The invalid value for remaining destination count is -1.
The Route.stops index values relating to the upcoming destination/arrival. If there are coincident stops and the RouteTracker.skipCoincidentStops = true this will return a list with multiple index values. When there are no coincident stops or the RouteTracker.skipCoincidentStops = false this will return a list with just a single index value. This list can be used to relate a destination/arrival to the stops in the Route.stops array.