Package 

Class EvModelInfo

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class EvModelInfo
     implements Parcelable
                        

    define the static EV model information related with EV trip planning.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final VehicleCategory getVehicleCategory()
      final String getModelName() The EV model name represented by the manufacturer.
      final Float getMaxChargingPower() Maximum charging power supported by the electric vehicle in kiloWatts (kW), default is 0 which means the vehicle does not run on battery.
      final Float getBatteryCapacity() Battery capacity of the electric vehicle in kiloWatt-hour (kWh), default is 0 which means vehicle does not run on battery This mandatory field is for vehicles that run on battery
      final Float getEnergyConsumption() Energy consumption on battery in Watt-hour (Wh) per kilometer, default is 0 which means vehicle does not run on battery This optional field is for vehicles that run on battery
      final Integer getVehicleCategoryOrdinal() This electric vehicle supported category by TA SDK, such as Auto, Truck, etc.
      final Integer getEnergyType() Energy type the vehicle runs on, default is Unknown This field is backward compatible with the detailed electric energy classification.
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getModelName

         final String getModelName()

        The EV model name represented by the manufacturer. The model name is case-sensitive.

      • getMaxChargingPower

         final Float getMaxChargingPower()

        Maximum charging power supported by the electric vehicle in kiloWatts (kW), default is 0 which means the vehicle does not run on battery. This optional field is for vehicles that run on battery.

      • getBatteryCapacity

         final Float getBatteryCapacity()

        Battery capacity of the electric vehicle in kiloWatt-hour (kWh), default is 0 which means vehicle does not run on battery This mandatory field is for vehicles that run on battery

      • getEnergyConsumption

         final Float getEnergyConsumption()

        Energy consumption on battery in Watt-hour (Wh) per kilometer, default is 0 which means vehicle does not run on battery This optional field is for vehicles that run on battery

      • getEnergyType

         final Integer getEnergyType()

        Energy type the vehicle runs on, default is Unknown This field is backward compatible with the detailed electric energy classification.