Class TelematicsEventCounts

java.lang.Object
com.sentilant.telematicssdk.TelematicsEventCounts
All Implemented Interfaces:
Serializable

public class TelematicsEventCounts extends Object implements 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 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

      @NonNull public String toString()
      Provides a string representation of the event counts.
      Overrides:
      toString in class Object
      Returns:
      A string summarizing the event counts.