Route Tracker
Creates a Route Tracker using a specific route from a route result with an option to specify treating coincident stops as a single destination. An exception is thrown if the com.arcgismaps.tasks.networkanalysis.Route is not found or if it lacks com.arcgismaps.tasks.networkanalysis.Route.stops and com.arcgismaps.tasks.networkanalysis.Route.directionManeuvers.
Since
200.1.0
Parameters
A com.arcgismaps.tasks.networkanalysis.RouteResult generated from route task solve. The com.arcgismaps.tasks.networkanalysis.RouteResult must contain at least one com.arcgismaps.tasks.networkanalysis.Route (with com.arcgismaps.tasks.networkanalysis.Route.stops and com.arcgismaps.tasks.networkanalysis.Route.directionManeuvers).
Zero-based index into the array of com.arcgismaps.tasks.networkanalysis.RouteResult.routes, selecting a com.arcgismaps.tasks.networkanalysis.Route to track. The selected com.arcgismaps.tasks.networkanalysis.Route must contain com.arcgismaps.tasks.networkanalysis.Route.stops and com.arcgismaps.tasks.networkanalysis.Route.directionManeuvers.
True if coincident stops (multiple stops in a row at the same location) should be treated as a single destination, false otherwise. When true, if there are multiple stops in a row at the same network location, the new voice guidance event will fire a single time and calling RouteTracker.switchToNextDestination will skip over the other coincident stops, setting the state to the next relevant direction maneuver. If false, each stop will be treated as a unique destination. If your route does not have coincident stops this parameter will have no effect.