Charging Preferences
data class ChargingPreferences @JvmOverloads constructor(var fullChargeThreshold: Float, var chargingThreshold: Float, var reserveThreshold: Float, var batteryMinimumDestinationThreshold: Float, var preferDcChargers: EnforceableAttribute<ParcelableBoolean> = EnforceableAttribute(ParcelableBoolean(false), false), var preferNonstopChargers: EnforceableAttribute<ParcelableBoolean> = EnforceableAttribute(ParcelableBoolean(false), false), var paymentType: EnforceableAttribute<PaymentType> = EnforceableAttribute(PaymentType.Any, false), var chargerAccess: EnforceableAttribute<ChargerAccess> = EnforceableAttribute(ChargerAccess.Any, false), var powerRange: EnforceableAttribute<PowerRange> = EnforceableAttribute(PowerRange(), false), var stationPreferences: List<StationPreferences> = emptyList(), var minimalSocAtChargingStation: Double? = null) : Parcelable
Constructors
Link copied to clipboard
fun ChargingPreferences(fullChargeThreshold: Float, chargingThreshold: Float, reserveThreshold: Float, batteryMinimumDestinationThreshold: Float, preferDcChargers: EnforceableAttribute<ParcelableBoolean> = EnforceableAttribute(ParcelableBoolean(false), false), preferNonstopChargers: EnforceableAttribute<ParcelableBoolean> = EnforceableAttribute(ParcelableBoolean(false), false), paymentType: EnforceableAttribute<PaymentType> = EnforceableAttribute(PaymentType.Any, false), chargerAccess: EnforceableAttribute<ChargerAccess> = EnforceableAttribute(ChargerAccess.Any, false), powerRange: EnforceableAttribute<PowerRange> = EnforceableAttribute(PowerRange(), false), stationPreferences: List<StationPreferences> = emptyList(), minimalSocAtChargingStation: Double? = null)