Class RouteTracker.RerouteCompletedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.navigation.RouteTracker.RerouteCompletedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- RouteTracker
public static final class RouteTracker.RerouteCompletedEvent extends java.util.EventObjectThe reroute completed event.- Since:
- 100.6.0
- See Also:
RouteTracker.RerouteCompletedListener,TrackingStatus,ArcGISRuntimeException, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RerouteCompletedEvent(RouteTracker routeTracker, TrackingStatus trackingStatus, ArcGISRuntimeException error)Creates new instance of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArcGISRuntimeExceptiongetError()Gets the rerouting error.RouteTrackergetSource()Gets theRouteTrackerthat raised the event.TrackingStatusgetTrackingStatus()Gets the tracking status with newRouteResult.
-
-
-
Constructor Detail
-
RerouteCompletedEvent
public RerouteCompletedEvent(RouteTracker routeTracker, TrackingStatus trackingStatus, ArcGISRuntimeException error)
Creates new instance of the event.- Parameters:
routeTracker- the object which fired the eventtrackingStatus- the tracking statuserror- populated if error occurs during rerouting, otherwise null- Since:
- 100.6.0
-
-
Method Detail
-
getSource
public RouteTracker getSource()
Gets theRouteTrackerthat raised the event.- Overrides:
getSourcein classjava.util.EventObject- Returns:
- the
RouteTracker. - Since:
- 100.6.0
-
getTrackingStatus
public TrackingStatus getTrackingStatus()
Gets the tracking status with newRouteResult.- Returns:
- the tracking status with new
RouteResult - Since:
- 100.6.0
-
getError
public ArcGISRuntimeException getError()
Gets the rerouting error.- Returns:
- populated if error occurs during rerouting, otherwise null
- Since:
- 100.6.0
-
-