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 SummaryConstructors Constructor Description RerouteCompletedEvent(RouteTracker routeTracker, TrackingStatus trackingStatus, ArcGISRuntimeException error)Creates new instance of the event.
 - 
Method SummaryAll 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- 
RerouteCompletedEventpublic RerouteCompletedEvent(RouteTracker routeTracker, TrackingStatus trackingStatus, ArcGISRuntimeException error) Creates new instance of the event.- Parameters:
- routeTracker- the object which fired the event
- trackingStatus- the tracking status
- error- populated if error occurs during rerouting, otherwise null
- Since:
- 100.6.0
 
 
- 
 - 
Method Detail- 
getSourcepublic RouteTracker getSource() Gets theRouteTrackerthat raised the event.- Overrides:
- getSourcein class- java.util.EventObject
- Returns:
- the RouteTracker.
- Since:
- 100.6.0
 
 - 
getTrackingStatuspublic TrackingStatus getTrackingStatus() Gets the tracking status with newRouteResult.- Returns:
- the tracking status with new RouteResult
- Since:
- 100.6.0
 
 - 
getErrorpublic ArcGISRuntimeException getError() Gets the rerouting error.- Returns:
- populated if error occurs during rerouting, otherwise null
- Since:
- 100.6.0
 
 
- 
 
-