> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/ios/driving-insights/sentharshdrivingevent.md).

# 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](/sdk/api-reference/ios/driving-insights/sentharshdrivingevent/harshdrivingeventtype.md).
>
> ```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;
> ```
