Package com.highmobility.autoapi
Class Trips.State
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.Command
com.highmobility.autoapi.SetCommand
com.highmobility.autoapi.Trips.State
- Enclosing class:
- Trips
The trips state
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.highmobility.autoapi.SetCommand
SetCommand.BaseBuilderNested classes/interfaces inherited from class com.highmobility.autoapi.Command
Command.HandleNotParsedProperty, Command.PropertyIteration, Command.PropertyIterator -
Field Summary
Fields inherited from class com.highmobility.autoapi.Command
BRAND_IDENTIFIER, NONCE_IDENTIFIER, propertyIterator, SIGNATURE_IDENTIFIER, TIMESTAMP_IDENTIFIER, universalPropertyIds, VIN_IDENTIFIERFields inherited from class com.highmobility.value.Bytes
bytesFields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionProperty<com.highmobility.autoapi.value.measurement.FuelEfficiency>Property<com.highmobility.autoapi.value.measurement.Length>Property<com.highmobility.autoapi.value.measurement.Length>getEvent()Property<com.highmobility.autoapi.value.measurement.Speed>Property<com.highmobility.autoapi.value.measurement.Length>Property<com.highmobility.autoapi.value.measurement.Volume>Property<com.highmobility.autoapi.value.measurement.Volume>getType()Methods inherited from class com.highmobility.autoapi.SetCommand
addProperty, createBytes, mandatoryPropertyErrorMessage, optionalPropertyErrorMessageMethods inherited from class com.highmobility.autoapi.Command
findUniversalProperties, findUniversalProperties, getAutoApiVersion, getBrand, getCommandType, getIdentifier, getNonce, getProperties, getProperty, getSignature, getSignedBytes, getTimestamp, getVinMethods inherited from class com.highmobility.value.Bytes
concat, concat, equals, get, getBase64, getBase64UrlSafe, getByteArray, getHex, getLength, getRange, set, set, set, size, toStringMethods inherited from class java.util.AbstractList
add, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Method Details
-
getType
- Returns:
- Type of the trip
-
getDriverName
- Returns:
- Name of the driver of the trip
-
getDescription
- Returns:
- Description of the trip
-
getStartTime
- Returns:
- Start time of the trip
-
getEndTime
- Returns:
- End time of the trip
-
getStartAddress
- Returns:
- Start address of the trip
-
getEndAddress
- Returns:
- End address of the trip
-
getStartCoordinates
- Returns:
- Start coordinates of the trip
-
getEndCoordinates
- Returns:
- End coordinates of the trip
-
getStartOdometer
- Returns:
- Odometer reading at the start of the trip
-
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
- Returns:
- Distance of the trip
-
getStartAddressComponents
- Returns:
- Start address components
-
getEndAddressComponents
- Returns:
- End address components
-
getEvent
- Returns:
- The event
-
getEcoLevel
- Returns:
- The eco level
-
getThresholds
- Returns:
- Eco driving thresholds
-
getTotalFuelConsumption
- Returns:
- Total fuel consumption during the trip
-
getTotalIdleFuelConsumption
- Returns:
- Fuel consumed while idle since the last ignition on.
-
getMaximumSpeed
- Returns:
- Maximum speed recorded since the last igntion on.
-
getRoadType
- Returns:
- Type of road travelled on.
-
getBrakingCount
- Returns:
- Number of times the brakes were applied during the trip.
-