Ongoing

data class Ongoing(val tripStartTime: LRTimestampMillisSince1970, val distanceMeter: LRDistanceMeter, val dwellStartTime: LRTimestampMillisSince1970?) : SafeRider.LRTripStatus

Trip is currently running.

Constructors

Link copied to clipboard
constructor(tripStartTime: LRTimestampMillisSince1970, distanceMeter: LRDistanceMeter, dwellStartTime: LRTimestampMillisSince1970?)

Properties

Link copied to clipboard
val distanceMeter: LRDistanceMeter

Total traveled distance since tripStartTime.

Link copied to clipboard
val dwellStartTime: LRTimestampMillisSince1970?

UTC epoch milliseconds when the last dwell (no movement) started, or null if not currently dwelling.

Link copied to clipboard
val tripStartTime: LRTimestampMillisSince1970

UTC epoch milliseconds when the trip started.