Class Trips.State

All Implemented Interfaces:
Iterable<Byte>, Collection<Byte>, List<Byte>
Enclosing class:
Trips

public static class Trips.State extends SetCommand
The trips state
  • Method Details

    • getType

      public Property<Trips.Type> getType()
      Returns:
      Type of the trip
    • getDriverName

      public Property<String> getDriverName()
      Returns:
      Name of the driver of the trip
    • getDescription

      public Property<String> getDescription()
      Returns:
      Description of the trip
    • getStartTime

      public Property<Calendar> getStartTime()
      Returns:
      Start time of the trip
    • getEndTime

      public Property<Calendar> getEndTime()
      Returns:
      End time of the trip
    • getStartAddress

      public Property<String> getStartAddress()
      Returns:
      Start address of the trip
    • getEndAddress

      public Property<String> getEndAddress()
      Returns:
      End address of the trip
    • getStartCoordinates

      public Property<Coordinates> getStartCoordinates()
      Returns:
      Start coordinates of the trip
    • getEndCoordinates

      public Property<Coordinates> getEndCoordinates()
      Returns:
      End coordinates of the trip
    • getStartOdometer

      public Property<com.highmobility.autoapi.value.measurement.Length> getStartOdometer()
      Returns:
      Odometer reading at the start of the trip
    • getEndOdometer

      public Property<com.highmobility.autoapi.value.measurement.Length> getEndOdometer()
      Returns:
      Odometer reading at the end of the trip
    • getAverageFuelConsumption

      public Property<com.highmobility.autoapi.value.measurement.FuelEfficiency> getAverageFuelConsumption()
      Returns:
      Average fuel consumption during the trip
    • getDistance

      public Property<com.highmobility.autoapi.value.measurement.Length> getDistance()
      Returns:
      Distance of the trip
    • getStartAddressComponents

      public List<Property<AddressComponent>> getStartAddressComponents()
      Returns:
      Start address components
    • getEndAddressComponents

      public List<Property<AddressComponent>> getEndAddressComponents()
      Returns:
      End address components
    • getEvent

      public Property<Trips.Event> getEvent()
      Returns:
      The event
    • getEcoLevel

      public Property<Trips.EcoLevel> getEcoLevel()
      Returns:
      The eco level
    • getThresholds

      public List<Property<EcoDrivingThreshold>> getThresholds()
      Returns:
      Eco driving thresholds
    • getTotalFuelConsumption

      public Property<com.highmobility.autoapi.value.measurement.Volume> getTotalFuelConsumption()
      Returns:
      Total fuel consumption during the trip
    • getTotalIdleFuelConsumption

      public Property<com.highmobility.autoapi.value.measurement.Volume> getTotalIdleFuelConsumption()
      Returns:
      Fuel consumed while idle since the last ignition on.
    • getMaximumSpeed

      public Property<com.highmobility.autoapi.value.measurement.Speed> getMaximumSpeed()
      Returns:
      Maximum speed recorded since the last igntion on.
    • getRoadType

      public Property<Trips.RoadType> getRoadType()
      Returns:
      Type of road travelled on.
    • getBrakingCount

      public PropertyInteger getBrakingCount()
      Returns:
      Number of times the brakes were applied during the trip.