OptimChargeResult

Defines all possible return values of Planner.computeRouteWithChargeStops method

Entries

Link copied to clipboard

Route is not an EV-route (no recharges calculated)

Link copied to clipboard

Route requires recharge(s) and a solution was found OR Route does not require a recharge but the user must not exceed the optimal maximum speed calculated by the algorithm.

Link copied to clipboard

Route does not require a recharge.

Link copied to clipboard

Route is invalid.

Link copied to clipboard

No charging pools in map.

Link copied to clipboard

Missing energetic profile information.

Link copied to clipboard

At least one recharge required but no solution found (no compatible charging point, or not reachable...)

Link copied to clipboard

Invalid parameters.

Link copied to clipboard

Invalid recharge parameters (for example, filter is NULL).

Link copied to clipboard

Optimization has been cancelled.

Link copied to clipboard

Optimization not supported with current licensing.

Link copied to clipboard

No enough memory

Link copied to clipboard

Too many charges needed

Link copied to clipboard

At least one of the time slots is invalid

Link copied to clipboard

DEPRECATED

Link copied to clipboard

Specified Transportation mode is invalid (i.e. pedestrian, bicycle)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Native SDK enumeration value.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.