Class RouteTracker.RerouteCompletedEvent

    • Constructor Detail

      • RerouteCompletedEvent

        public 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

      • getSource

        public RouteTracker getSource()
        Gets the RouteTracker that raised the event.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the RouteTracker.
        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