EVPreferences

data class EVPreferences(chargeRangeLowVal: Double, chargeRangeUpperVal: Double, preferredProvider: List<EVProvider>, enforceDCChargers: Boolean, enforceNonstopChargers: Boolean, chargerPermission: EVPreferences.EVChargerAccessType, payType: EVPreferences.EVPayType) : Parcelable

Constructors

EVPreferences
Link copied to clipboard
fun EVPreferences(chargeRangeLowVal: Double = -1.0, chargeRangeUpperVal: Double = -1.0, preferredProvider: List<EVProvider>, enforceDCChargers: Boolean = false, enforceNonstopChargers: Boolean = false, chargerPermission: EVPreferences.EVChargerAccessType, payType: EVPreferences.EVPayType)

Types

EVChargerAccessType
Link copied to clipboard
enum EVChargerAccessType : Enum<EVPreferences.EVChargerAccessType>
EVPayType
Link copied to clipboard
enum EVPayType : Enum<EVPreferences.EVPayType>

Functions

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

Properties

chargeRangeLowVal
Link copied to clipboard
val chargeRangeLowVal: Double
Lower margin of preferred EV station power output (-1 = unlimited)
chargeRangeUpperVal
Link copied to clipboard
val chargeRangeUpperVal: Double
Upper margin of preferred EV station power output (-1 = unlimited)
chargerPermission
Link copied to clipboard
Controls accessibility of preferred chargers
enforceDCChargers
Link copied to clipboard
val enforceDCChargers: Boolean = false
Keep to the DC stations when possible
enforceNonstopChargers
Link copied to clipboard
val enforceNonstopChargers: Boolean = false
Keep to the charges without opening hours when possible
payType
Link copied to clipboard
val payType: EVPreferences.EVPayType
Indicates which payment method is preferred for EV station services
preferredProvider
Link copied to clipboard
val preferredProvider: List<EVProvider>
List of preferred EV station providers