stopCharging

fun stopCharging(callback: StopChargingCallback = StopChargingCallback {})

Exits the charging state entered via startCharging, resuming navigation and automatically advancing to the next route leg if applicable. Must be called only while the current waypoint is an EV charging station.

Parameters

callback

invoked with whether the next leg was started, once changing leg is resolved (or immediately if changing leg isn't possible)