Package com.sentilant.telematicssdk
Class TelematicsEventCounts
java.lang.Object
com.sentilant.telematicssdk.TelematicsEventCounts
- All Implemented Interfaces:
Serializable
Represents the counts of various driving events during a trip or over a period.
These events include hard braking, abrupt acceleration, hard cornering, speeding,
and driver distractions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the count of abrupt acceleration events.intGets the count of distraction events (e.g., phone usage while driving).intGets the count of hard braking events.intGets the count of hard cornering events.intGets the count of speeding events.toString()Provides a string representation of the event counts.
-
Constructor Details
-
TelematicsEventCounts
public TelematicsEventCounts()Default constructor for TelematicsEventCounts.
-
-
Method Details
-
getHardBraking
public int getHardBraking()Gets the count of hard braking events.- Returns:
- The number of hard braking events.
-
getAbruptAcceleration
public int getAbruptAcceleration()Gets the count of abrupt acceleration events.- Returns:
- The number of abrupt acceleration events.
-
getHardCornering
public int getHardCornering()Gets the count of hard cornering events.- Returns:
- The number of hard cornering events.
-
getSpeeding
public int getSpeeding()Gets the count of speeding events.- Returns:
- The number of speeding events.
-
getDistraction
public int getDistraction()Gets the count of distraction events (e.g., phone usage while driving).- Returns:
- The number of distraction events.
-
toString
Provides a string representation of the event counts.
-