Class provides a callback to be invoked when RouteSession handle changed/advanced events. More...
Public Member Functions | |
void | onRouteChanged (RoutePath currentPath) |
Called when new route was built or old route was rebuilt after missing previouse one. | |
void | onRouteAdvanced (double distance, LocationPoint point) |
Called when user has progressed along the route that was built in the method onRouteChanged | |
Class provides a callback to be invoked when RouteSession handle changed/advanced events.
Referenced from AsyncRouteManager RouteSession.
Definition at line 24 of file async_route_listener.dart.
void AsyncRouteListener.onRouteAdvanced | ( | double | distance, |
LocationPoint | point ) |
Called when user has progressed along the route that was built in the method onRouteChanged
distance | distance from the beginning or the route (unit meters) |
point | current location point on the route |
void AsyncRouteListener.onRouteChanged | ( | RoutePath | currentPath | ) |
Called when new route was built or old route was rebuilt after missing previouse one.
currentPath | RoutePath from current postion to destination point |