ChargingNetworkSettings

Functions

Link copied to clipboard
abstract fun observePreferred(): Flow<Set<String>>

Subscribes to the preferred network list changes user can make via the Settings UI.

Link copied to clipboard
abstract fun setAll(networks: List<ChargingNetwork>)

Defines the full list of available charging networks.

Link copied to clipboard
abstract fun setPreferred(networkIds: Set<String>)

Defines IDs of the preferred charging networks.