# SENTHarshDrivingEvent

```objectivec
SWIFT_CLASS_NAMED("HarshDrivingEvent")
@interface SENTHarshDrivingEvent : SENTDrivingEvent
```

## SENTHarshDrivingEvent API

### `confidence`

> The confidence in the harsh event, between 0 and 100.
>
> ```objectivec
> @property (nonatomic, readonly) NSInteger confidence;
> ```

### `endDate`

> The end date of the event.
>
> ```objectivec
> @property (nonatomic, readonly, strong) SENTDate * _Nonnull endDate;
> ```

### `magnitude`

> Returns the magnitude of the harsh event, in m/s^2.
>
> ```objectivec
> @property (nonatomic, readonly) float magnitude;
> ```

### `startDate`

> The start date of the event.
>
> ```objectivec
> @property (nonatomic, readonly, strong) SENTDate * _Nonnull startDate;
> ```

### `type`

> The type of harsh event. See [HarshDrivingEvent](https://docs.sentiance.com/important-topics/sdk/api-reference/ios/driving-insights/sentharshdrivingevent/harshdrivingeventtype).
>
> ```objectivec
> @property (nonatomic, readonly) enum SENTHarshDrivingEventType type;
> ```

### `waypoints`

> Transport waypoints that indicate the segment of the transport where the event occurred.
>
> ```objectivec
> @property (nonatomic, readonly, strong) NSArray<SENTWaypoint *> * waypoints;
> ```
