EnergyProfile
@CarProtocol
@RequiresCarApi(value = 3)
class EnergyProfile
Information about car hardware fuel profile such as fuel types and connector ports.
Summary
Nested types |
|---|
class EnergyProfile.BuilderA builder of |
Constants |
|
|---|---|
const Int |
CHAdeMo fast charger connector |
const Int |
Combined Charging System Combo 1 |
const Int |
Combined Charging System Combo 2 |
const Int |
GBT_AC Fast Charging Standard |
const Int |
GBT_DC Fast Charging Standard |
const Int |
Connector type SAE J1772 |
const Int |
IEC 62196 Type 2 connector |
const Int |
EVCONNECTOR_TYPE_OTHER = 101Connector type to use when no other types apply. |
const Int |
IEC_TYPE_3_AC connector |
const Int |
High Power Wall Charger of Tesla |
const Int |
Connector of Tesla Roadster |
const Int |
Supercharger of Tesla |
const Int |
Unknown connector type. |
const Int |
Biodiesel |
const Int |
FUEL_TYPE_CNG = 8Compressed natural gas |
const Int |
#1 Grade Diesel |
const Int |
#2 Grade Diesel |
const Int |
FUEL_TYPE_E85 = 685% ethanol/gasoline blend |
const Int |
FUEL_TYPE_ELECTRIC = 10Electric |
const Int |
FUEL_TYPE_HYDROGEN = 11Hydrogen fuel cell |
const Int |
FUEL_TYPE_LEADED = 2Leaded gasoline |
const Int |
FUEL_TYPE_LNG = 9Liquified natural gas |
const Int |
FUEL_TYPE_LPG = 7Liquified petroleum gas |
const Int |
FUEL_TYPE_OTHER = 12Fuel type to use when no other types apply. |
const Int |
Unknown fuel type |
const Int |
Unleaded gasoline |
Public functions |
|
|---|---|
Boolean |
|
CarValue<(Mutable)List<Int!>!> |
Returns an array of the available EV connectors. |
CarValue<(Mutable)List<Int!>!> |
Returns an array of the available fuel types. |
Int |
hashCode() |
String |
toString() |
Constants
EVCONNECTOR_TYPE_CHADEMO
const val EVCONNECTOR_TYPE_CHADEMO = 3: Int
CHAdeMo fast charger connector
EVCONNECTOR_TYPE_COMBO_1
const val EVCONNECTOR_TYPE_COMBO_1 = 4: Int
Combined Charging System Combo 1
EVCONNECTOR_TYPE_COMBO_2
const val EVCONNECTOR_TYPE_COMBO_2 = 5: Int
Combined Charging System Combo 2
EVCONNECTOR_TYPE_GBT
const val EVCONNECTOR_TYPE_GBT = 9: Int
GBT_AC Fast Charging Standard
EVCONNECTOR_TYPE_GBT_DC
const val EVCONNECTOR_TYPE_GBT_DC = 10: Int
GBT_DC Fast Charging Standard
EVCONNECTOR_TYPE_J1772
const val EVCONNECTOR_TYPE_J1772 = 1: Int
Connector type SAE J1772
EVCONNECTOR_TYPE_MENNEKES
const val EVCONNECTOR_TYPE_MENNEKES = 2: Int
IEC 62196 Type 2 connector
EVCONNECTOR_TYPE_OTHER
const val EVCONNECTOR_TYPE_OTHER = 101: Int
Connector type to use when no other types apply.
EVCONNECTOR_TYPE_SCAME
const val EVCONNECTOR_TYPE_SCAME = 11: Int
IEC_TYPE_3_AC connector
EVCONNECTOR_TYPE_TESLA_HPWC
const val EVCONNECTOR_TYPE_TESLA_HPWC = 7: Int
High Power Wall Charger of Tesla
EVCONNECTOR_TYPE_TESLA_ROADSTER
const val EVCONNECTOR_TYPE_TESLA_ROADSTER = 6: Int
Connector of Tesla Roadster
EVCONNECTOR_TYPE_TESLA_SUPERCHARGER
const val EVCONNECTOR_TYPE_TESLA_SUPERCHARGER = 8: Int
Supercharger of Tesla
EVCONNECTOR_TYPE_UNKNOWN
const val EVCONNECTOR_TYPE_UNKNOWN = 0: Int
Unknown connector type.
FUEL_TYPE_OTHER
const val FUEL_TYPE_OTHER = 12: Int
Fuel type to use when no other types apply.
Public functions
getEvConnectorTypes
fun getEvConnectorTypes(): CarValue<(Mutable)List<Int!>!>
Returns an array of the available EV connectors.
If a vehicle does not know the EV connector type it will return EVCONNECTOR_TYPE_UNKNOWN or STATUS_UNIMPLEMENTED. If the value is known but not in the current list EVCONNECTOR_TYPE_UNKNOWN will be returned.
getFuelTypes
fun getFuelTypes(): CarValue<(Mutable)List<Int!>!>
Returns an array of the available fuel types.
If a vehicle does not know the fuel type it will return FUEL_TYPE_UNKNOWN or STATUS_UNIMPLEMENTED. If the value is known but not in the current list EVCONNECTOR_TYPE_UNKNOWN will be returned.