Router
Contains classes, protocols, and enumerations for describing and calculating routes.
Types
EVRangeListener
Link copied to clipboard
interface EVRangeListener
Content copied to clipboard
RecomputeType
Link copied to clipboard
RouteComputeAdapter
Link copied to clipboard
RouteComputeError
Link copied to clipboard
RouteComputeListener
Link copied to clipboard
RouteDurationListener
Link copied to clipboard
Functions
calculateEVRange
Link copied to clipboard
open fun calculateEVRange(position: GeoCoordinates, capacities: List<Double>, options: RoutingOptions, profile: EVProfile, listener: Router.EVRangeListener)
Content copied to clipboard
open fun calculateEVRange(position: GeoCoordinates, capacities: List<Double>, options: RoutingOptions, profile: EVProfile, listener: Router.EVRangeListener, @Nullable() executor: Executor)
Content copied to clipboard
cancelCompute
Link copied to clipboard
open fun cancelCompute()
Content copied to clipboard
computeAETRRoute
Link copied to clipboard
open fun computeAETRRoute(routePlan: RoutePlan, @NonNull() profile: AETRProfile, listener: Router.RouteComputeListener)
Content copied to clipboard
open fun computeAETRRoute(routePlan: RoutePlan, @NonNull() profile: AETRProfile, listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
computeEVRoute
Link copied to clipboard
@Deprecated()
Content copied to clipboard
open fun computeEVRoute(routePlan: RoutePlan, @NonNull() profile: EVProfile, @NonNull() preference: EVPreferences, listener: Router.RouteComputeListener)
Content copied to clipboard
@Deprecated()
Content copied to clipboard
open fun computeEVRoute(routePlan: RoutePlan, @NonNull() profile: EVProfile, @NonNull() preference: EVPreferences, listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
computeGuidedRoute
Link copied to clipboard
open fun computeGuidedRoute(@NonNull() profile: GuidedRouteProfile, @NonNull() listener: Router.RouteComputeListener)
Content copied to clipboard
open fun computeGuidedRoute(@NonNull() profile: GuidedRouteProfile, @NonNull() listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
computeNextDurations
Link copied to clipboard
open fun computeNextDurations(route: Route, times: List<Long>, listener: Router.RouteDurationListener)
Content copied to clipboard
open fun computeNextDurations(route: Route, times: List<Long>, listener: Router.RouteDurationListener, @Nullable() executor: Executor)
Content copied to clipboard
computeRoute
Link copied to clipboard
open fun computeRoute(routePlan: RoutePlan, listener: Router.RouteComputeListener)
Content copied to clipboard
open fun computeRoute(routePlan: RoutePlan, listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
computeRouteFromJSONString
Link copied to clipboard
open fun computeRouteFromJSONString(json: String, listener: Router.RouteComputeListener)
Content copied to clipboard
Calculates route from JSON string that was serialized via serializeToBriefJSON
open fun computeRouteFromJSONString(json: String, listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
Calculates route from JSON string that was serialized via serializeToBriefJSON
createBriefJSONFromITF
Link copied to clipboard
createRoutePlanFromJSONString
Link copied to clipboard
getChargingWaypoints
Link copied to clipboard
getRemainingBatteryCapacityAt
Link copied to clipboard
open fun getRemainingBatteryCapacityAt(waypoint: Waypoint, profile: EVProfile, route: Route): Float
Content copied to clipboard