EVPreferences

data class EVPreferences(val chargeRangeLowVal: Double = -1.0, val chargeRangeUpperVal: Double = -1.0, val preferredProvider: List<EVProvider>, val preferDCChargers: Boolean = false, val preferNonstopChargers: Boolean = false, val chargerPermission: EVPreferences.EVChargerAccessType, val payType: EVPreferences.EVPayType, val enforcePowerRange: Boolean = false, val enforceProviders: Boolean = false, val enforcePreferDCChargers: Boolean = false, val enforcePreferNonstopChargers: Boolean = false, val enforceChargerPermission: Boolean = false, val enforcePayType: Boolean = false) : Parcelable

Constructors

Link copied to clipboard
fun EVPreferences(chargeRangeLowVal: Double = -1.0, chargeRangeUpperVal: Double = -1.0, preferredProvider: List<EVProvider>, preferDCChargers: Boolean = false, preferNonstopChargers: Boolean = false, chargerPermission: EVPreferences.EVChargerAccessType, payType: EVPreferences.EVPayType)
Link copied to clipboard
fun EVPreferences(chargeRangeLowVal: Double = -1.0, chargeRangeUpperVal: Double = -1.0, preferredProvider: List<EVProvider>, preferDCChargers: Boolean = false, preferNonstopChargers: Boolean = false, chargerPermission: EVPreferences.EVChargerAccessType, payType: EVPreferences.EVPayType, enforcePowerRange: Boolean = false, enforceProviders: Boolean = false, enforcePreferDCChargers: Boolean = false, enforcePreferNonstopChargers: Boolean = false, enforceChargerPermission: Boolean = false, enforcePayType: Boolean = false)

Types

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Lower margin of preferred EV station power output (-1 = unlimited)

Link copied to clipboard

Upper margin of preferred EV station power output (-1 = unlimited)

Link copied to clipboard

Controls accessibility of preferred chargers

Link copied to clipboard

Indicates if charger permissions preference is to be strictly enforced

Link copied to clipboard
val enforcePayType: Boolean = false

Indicates if pay type preference is to be strictly enforced

Link copied to clipboard

Indicates if power range preference is to be strictly enforced

Link copied to clipboard

Indicates if DC chargers preference is to be strictly enforced

Link copied to clipboard

Indicates if nonstop chargers preference is to be strictly enforced

Link copied to clipboard

Indicates if provider preference is to be strictly enforced

Link copied to clipboard

Indicates which payment method is preferred for EV station services

Link copied to clipboard

Keep to the DC stations when possible

Link copied to clipboard

Keep to the charges without opening hours when possible

Link copied to clipboard

List of preferred EV station providers