EnergyProfile


@CarProtocol
@RequiresCarApi(value = 3)
class EnergyProfile


Information about car hardware fuel profile such as fuel types and connector ports.

Summary

Nested types

A builder of EnergyProfile.

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

Connector 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

Compressed natural gas

const Int

#1 Grade Diesel

const Int

#2 Grade Diesel

const Int

85% ethanol/gasoline blend

const Int

Electric

const Int

Hydrogen fuel cell

const Int

Leaded gasoline

const Int

Liquified natural gas

const Int

Liquified petroleum gas

const Int

Fuel type to use when no other types apply.

const Int

Unknown fuel type

const Int

Unleaded gasoline

Public functions

Boolean
equals(other: Any?)
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
String

Constants

EVCONNECTOR_TYPE_CHADEMO

Added in 1.1.0
const val EVCONNECTOR_TYPE_CHADEMO = 3: Int

CHAdeMo fast charger connector

EVCONNECTOR_TYPE_COMBO_1

Added in 1.1.0
const val EVCONNECTOR_TYPE_COMBO_1 = 4: Int

Combined Charging System Combo 1

EVCONNECTOR_TYPE_COMBO_2

Added in 1.1.0
const val EVCONNECTOR_TYPE_COMBO_2 = 5: Int

Combined Charging System Combo 2

EVCONNECTOR_TYPE_GBT

Added in 1.1.0
const val EVCONNECTOR_TYPE_GBT = 9: Int

GBT_AC Fast Charging Standard

EVCONNECTOR_TYPE_GBT_DC

Added in 1.1.0
const val EVCONNECTOR_TYPE_GBT_DC = 10: Int

GBT_DC Fast Charging Standard

EVCONNECTOR_TYPE_J1772

Added in 1.1.0
const val EVCONNECTOR_TYPE_J1772 = 1: Int

Connector type SAE J1772

EVCONNECTOR_TYPE_MENNEKES

Added in 1.1.0
const val EVCONNECTOR_TYPE_MENNEKES = 2: Int

IEC 62196 Type 2 connector

EVCONNECTOR_TYPE_OTHER

Added in 1.1.0
const val EVCONNECTOR_TYPE_OTHER = 101: Int

Connector type to use when no other types apply.

EVCONNECTOR_TYPE_SCAME

Added in 1.1.0
const val EVCONNECTOR_TYPE_SCAME = 11: Int

IEC_TYPE_3_AC connector

EVCONNECTOR_TYPE_TESLA_HPWC

Added in 1.1.0
const val EVCONNECTOR_TYPE_TESLA_HPWC = 7: Int

High Power Wall Charger of Tesla

EVCONNECTOR_TYPE_TESLA_ROADSTER

Added in 1.1.0
const val EVCONNECTOR_TYPE_TESLA_ROADSTER = 6: Int

Connector of Tesla Roadster

EVCONNECTOR_TYPE_TESLA_SUPERCHARGER

Added in 1.1.0
const val EVCONNECTOR_TYPE_TESLA_SUPERCHARGER = 8: Int

Supercharger of Tesla

EVCONNECTOR_TYPE_UNKNOWN

Added in 1.1.0
const val EVCONNECTOR_TYPE_UNKNOWN = 0: Int

Unknown connector type.

FUEL_TYPE_BIODIESEL

Added in 1.1.0
const val FUEL_TYPE_BIODIESEL = 5: Int

Biodiesel

FUEL_TYPE_CNG

Added in 1.1.0
const val FUEL_TYPE_CNG = 8: Int

Compressed natural gas

FUEL_TYPE_DIESEL_1

Added in 1.1.0
const val FUEL_TYPE_DIESEL_1 = 3: Int

#1 Grade Diesel

FUEL_TYPE_DIESEL_2

Added in 1.1.0
const val FUEL_TYPE_DIESEL_2 = 4: Int

#2 Grade Diesel

FUEL_TYPE_E85

Added in 1.1.0
const val FUEL_TYPE_E85 = 6: Int

85% ethanol/gasoline blend

FUEL_TYPE_ELECTRIC

Added in 1.1.0
const val FUEL_TYPE_ELECTRIC = 10: Int

Electric

FUEL_TYPE_HYDROGEN

Added in 1.1.0
const val FUEL_TYPE_HYDROGEN = 11: Int

Hydrogen fuel cell

FUEL_TYPE_LEADED

Added in 1.1.0
const val FUEL_TYPE_LEADED = 2: Int

Leaded gasoline

FUEL_TYPE_LNG

Added in 1.1.0
const val FUEL_TYPE_LNG = 9: Int

Liquified natural gas

FUEL_TYPE_LPG

Added in 1.1.0
const val FUEL_TYPE_LPG = 7: Int

Liquified petroleum gas

FUEL_TYPE_OTHER

Added in 1.1.0
const val FUEL_TYPE_OTHER = 12: Int

Fuel type to use when no other types apply.

FUEL_TYPE_UNKNOWN

Added in 1.1.0
const val FUEL_TYPE_UNKNOWN = 0: Int

Unknown fuel type

FUEL_TYPE_UNLEADED

Added in 1.1.0
const val FUEL_TYPE_UNLEADED = 1: Int

Unleaded gasoline

Public functions

equals

fun equals(other: Any?): Boolean

getEvConnectorTypes

Added in 1.1.0
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

Added in 1.1.0
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.

hashCode

fun hashCode(): Int

toString

fun toString(): String