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
constructor(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)
Properties
Link copied to clipboard
fraction of capacity desired at the destination. interval <0.0, 1.0>
Link copied to clipboard
desired ChargerAccess, may be enforced
Link copied to clipboard
fraction of capacity considered as charging threshold. interval <0.0, 1.0>
Link copied to clipboard
fraction of capacity considered as full charge. interval <0.0, 1.0>
Link copied to clipboard
desired level of battery while arriving to charging station
Link copied to clipboard
desired PaymentType, may be enforced
Link copied to clipboard
desired PowerRange, may be enforced
Link copied to clipboard
true if DC chargers are preferred, may be enforced
Link copied to clipboard
true if non-stop chargers are preferred, may be enforced
Link copied to clipboard
fraction of capacity considered as reserve threshold. interval <0.0, 1.0>
Link copied to clipboard
desired StationPreferences, may be empty