added saving route duration
This commit is contained in:
@@ -13,6 +13,15 @@ public enum RouteHandler {
|
||||
private int stepCount = 0;
|
||||
private RouteFinishedListener routeFinishedListener;
|
||||
private long startedTime;
|
||||
private double currentRouteDuration;
|
||||
|
||||
public void setCurrentRouteDuration(double currentRouteDuration) {
|
||||
this.currentRouteDuration = currentRouteDuration;
|
||||
}
|
||||
|
||||
public double getCurrentRouteDuration() {
|
||||
return currentRouteDuration;
|
||||
}
|
||||
|
||||
private Polyline currentRouteLine;
|
||||
|
||||
@@ -20,6 +29,7 @@ public enum RouteHandler {
|
||||
this.currentRouteLine = currentRouteLine;
|
||||
}
|
||||
|
||||
|
||||
public Polyline getCurrentRouteLine() {
|
||||
return currentRouteLine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user