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
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
computeEVRoute
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
computeGuidedRoute
Link copied to clipboard
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
@Deprecated()
Content copied to clipboard
Deprecated - use computeRoute with RouteRequest
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
@Deprecated()
Content copied to clipboard
open fun computeRoute(@NonNull() routeRequest: RouteRequest, @NonNull() listener: Router.RouteComputeListener)
Content copied to clipboard
open fun computeRoute(@NonNull() routeRequest: RouteRequest, listener: Router.RouteComputeListener, @Nullable() executor: Executor)
Content copied to clipboard
@Deprecated()
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
@Deprecated()
Content copied to clipboard
Creates a list of Waypoints from JSON that was serialized via serializeToBriefJSON Deprecated - use createRouteRequestFromJSONString
createRouteRequestFromJSONString
Link copied to clipboard
open fun createRouteRequestFromJSONString(@NonNull() json: String, @NonNull() listener: OnRouteRequestDeserialized)
Content copied to clipboard
open fun createRouteRequestFromJSONString(@NonNull() json: String, @NonNull() listener: OnRouteRequestDeserialized, @Nullable() executor: Executor)
Content 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