# HarshDrivingEvent

## HarshDrivingEvent API

### `getConfidence()`

> ```java
> int getConfidence()
> ```
>
> Returns the confidence in the harsh event, between 0 and 100.

### `getMagnitude()`

> ```java
> double getMagnitude()
> ```
>
> Returns the magnitude of the harsh event, in m/s^2.

### `getEndTime()`

> ```java
> DateTime getEndTime()
> ```
>
> Returns the end date and time of occurrence of the event.

### `getStartTime()`

> ```java
> DateTime getStartTime()
> ```
>
> Returns the start date and time of occurrence of the event.

### `getType()`

> ```java
> Type getType()
> ```
>
> Returns the type of harsh event. See [Type](https://docs.sentiance.com/important-topics/sdk/api-reference/android/driving-insights/harshdrivingevent/type).

### `getWaypoints()`

> ```java
> List<Waypoint> getWaypoints()
> ```
>
> Returns a list of transport waypoints that indicate the segment of the transport where the event occurred.
