-
- All Implemented Interfaces:
public class TripInfoEvent extends ApplicationEventTripInfoEvent Schema model object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTripInfoEvent.Builder
-
Method Summary
Modifier and Type Method Description DoublegetMaxSpeed()Get Max speed during the trip (m/s) DoublegetDistance()Get Travel distance in meters IntegergetDuration()Get Travel duration in ms IntegergetNightDuration()Get Night time travel duration in ms IntegergetMovingDuration()Get Travel (gps speed is larger than 0) duration in ms IntegergetNightMovingDuration()Get Night time travel (gps speed is larger than 0) duration in ms DoublegetNightDistance()Get Night time travel distance in meters. EventTypegetEventType()Get EventType. static TripInfoEvent.Builderbuilder()-
Methods inherited from class com.telenav.sdk.datacollector.model.event.ApplicationEvent
getEventData -
Methods inherited from class com.telenav.sdk.datacollector.model.event.Event
getFormatType, getLogContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMaxSpeed
Double getMaxSpeed()
Get Max speed during the trip (m/s)
-
getDistance
Double getDistance()
Get Travel distance in meters
-
getDuration
Integer getDuration()
Get Travel duration in ms
-
getNightDuration
Integer getNightDuration()
Get Night time travel duration in ms
-
getMovingDuration
Integer getMovingDuration()
Get Travel (gps speed is larger than 0) duration in ms
-
getNightMovingDuration
Integer getNightMovingDuration()
Get Night time travel (gps speed is larger than 0) duration in ms
-
getNightDistance
Double getNightDistance()
Get Night time travel distance in meters.
-
getEventType
EventType getEventType()
Get EventType.
-
builder
static TripInfoEvent.Builder builder()
-
-
-
-