EVPreferences

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

Constructors

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

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

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
val chargeRangeLowVal: Double

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

Link copied to clipboard
val chargeRangeUpperVal: Double

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

Link copied to clipboard

Controls accessibility of preferred chargers

Link copied to clipboard
val enforceDCChargers: Boolean = false

Keep to the DC stations when possible

Link copied to clipboard
val enforceNonstopChargers: Boolean = false

Keep to the charges without opening hours when possible

Link copied to clipboard
val payType: EVPreferences.EVPayType

Indicates which payment method is preferred for EV station services

Link copied to clipboard
val preferredProvider: List<EVProvider>

List of preferred EV station providers