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.EventObject
The 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 ArcGISRuntimeException
getError()
Gets the rerouting error.RouteTracker
getSource()
Gets theRouteTracker
that raised the event.TrackingStatus
getTrackingStatus()
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 theRouteTracker
that raised the event.- Overrides:
getSource
in 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
-
-