Skip to main content

Charging network settings

The Navigation SDK UX Framework allows setting the list of available charging station networks as well as the networks preferred by the user. Additionally, the SDK allows listening for changes in selected charging networks, enabling you to respond to changes in user preferences.

To set list of available charging station networks you need to pass list of ChargingNetworks:

ChargingNetwork(id = "chargepoint", name = "ChargePoint"),
ChargingNetwork(id = "blink", name = "Blink"),
ChargingNetwork(id = "electrify_america", name = "Electrify America"),
ChargingNetwork(id = "evgo", name = "EVgo"),

To mark some networks as preferred you need to pass set of networks IDs like:


To subscribe to the preferred networks changes that user can make via the Settings UI:

.collect { ids ->
Log.i(TAG, "Preferred network IDs: ids")
Was this page helpful?