Classes | |
interface | EVRangeListener |
interface | RecomputeType |
class | RouteComputeAdapter |
interface | RouteComputeError |
interface | RouteComputeListener |
interface | RouteDurationListener |
Public Member Functions | |
synchronized void | destroy () |
void | computeRoute (final RoutePlan routePlan, final RouteComputeListener listener) |
void | computeRoute (final RoutePlan routePlan, final RouteComputeListener listener, @Nullable final Executor executor) |
void | computeEVRoute (final RoutePlan routePlan, @NonNull final EVProfile profile, final RouteComputeListener listener) |
void | computeEVRoute (final RoutePlan routePlan, @NonNull final EVProfile profile, final RouteComputeListener listener, @Nullable final Executor executor) |
List< ChargingWaypoint > | getChargingWaypoints (final Route route) |
void | calculateEVRange (final GeoCoordinates position, final List< Double > capacities, final RoutingOptions options, final EVProfile profile, final EVRangeListener listener) |
void | calculateEVRange (final GeoCoordinates position, final List< Double > capacities, final RoutingOptions options, final EVProfile profile, final EVRangeListener listener, @Nullable final Executor executor) |
void | computeRouteFromJSONString (final String json, final RouteComputeListener listener) |
void | computeRouteFromJSONString (final String json, final RouteComputeListener listener, @Nullable final Executor executor) |
List< Waypoint > | createRoutePlanFromJSONString (final String json) |
void | recomputeRoute (final Route route, final RouteComputeListener listener) |
void | recomputeRoute (final Route route, final RouteComputeListener listener, @Nullable final Executor executor) |
void | computeNextDurations (final Route route, final List< Long > times, final RouteDurationListener listener) |
void | computeNextDurations (final Route route, final List< Long > times, final RouteDurationListener listener, @Nullable final Executor executor) |
void | cancelCompute () |
Protected Member Functions | |
void | finalize () throws Throwable |
Contains classes, protocols, and enumerations for describing and calculating routes.
void com.sygic.sdk.route.Router.calculateEVRange | ( | final GeoCoordinates | position, |
final List< Double > | capacities, | ||
final RoutingOptions | options, | ||
final EVProfile | profile, | ||
final EVRangeListener | listener | ||
) |
void com.sygic.sdk.route.Router.calculateEVRange | ( | final GeoCoordinates | position, |
final List< Double > | capacities, | ||
final RoutingOptions | options, | ||
final EVProfile | profile, | ||
final EVRangeListener | listener, | ||
@Nullable final Executor | executor | ||
) |
void com.sygic.sdk.route.Router.cancelCompute | ( | ) |
Cancels a computed route or cancel current computing.
void com.sygic.sdk.route.Router.computeEVRoute | ( | final RoutePlan | routePlan, |
@NonNull final EVProfile | profile, | ||
final RouteComputeListener | listener | ||
) |
void com.sygic.sdk.route.Router.computeEVRoute | ( | final RoutePlan | routePlan, |
@NonNull final EVProfile | profile, | ||
final RouteComputeListener | listener, | ||
@Nullable final Executor | executor | ||
) |
void com.sygic.sdk.route.Router.computeNextDurations | ( | final Route | route, |
final List< Long > | times, | ||
final RouteDurationListener | listener | ||
) |
Compute the durations of your chosen route in the given time.
route | Route |
times | an array of UTC times in which the route should be computed |
listener | RouteDurationListener |
void com.sygic.sdk.route.Router.computeNextDurations | ( | final Route | route, |
final List< Long > | times, | ||
final RouteDurationListener | listener, | ||
@Nullable final Executor | executor | ||
) |
Compute the durations of your chosen route in the given time.
route | Route |
times | an array of UTC times in which the route should be computed |
listener | RouteDurationListener |
executor | executor which will execute listener's callbacks |
void com.sygic.sdk.route.Router.computeRoute | ( | final RoutePlan | routePlan, |
final RouteComputeListener | listener | ||
) |
This method will compute a full route.
routePlan |
void com.sygic.sdk.route.Router.computeRoute | ( | final RoutePlan | routePlan, |
final RouteComputeListener | listener, | ||
@Nullable final Executor | executor | ||
) |
This method will compute a full route.
routePlan | |
executor | Executor which will execute listener's callbacks |
void com.sygic.sdk.route.Router.computeRouteFromJSONString | ( | final String | json, |
final RouteComputeListener | listener | ||
) |
Calculates route from JSON string that was serialized via Route#serializeToBriefJSON()
void com.sygic.sdk.route.Router.computeRouteFromJSONString | ( | final String | json, |
final RouteComputeListener | listener, | ||
@Nullable final Executor | executor | ||
) |
Calculates route from JSON string that was serialized via Route#serializeToBriefJSON()
executor | Executor which will execute listener's callbacks |
List<Waypoint> com.sygic.sdk.route.Router.createRoutePlanFromJSONString | ( | final String | json | ) |
Creates a list of Waypoints from JSON that was serialized via Route#serializeToBriefJSON()
json | Serialized JSON |
synchronized void com.sygic.sdk.route.Router.destroy | ( | ) |
|
protected |
List<ChargingWaypoint> com.sygic.sdk.route.Router.getChargingWaypoints | ( | final Route | route | ) |
void com.sygic.sdk.route.Router.recomputeRoute | ( | final Route | route, |
final RouteComputeListener | listener | ||
) |
Recompute route, for example when dynamicPenalty has been chagnged.
void com.sygic.sdk.route.Router.recomputeRoute | ( | final Route | route, |
final RouteComputeListener | listener, | ||
@Nullable final Executor | executor | ||
) |
Recompute route, for example when dynamicPenalty has been chagnged.
executor | Executor which will execute listener's callbacks |