---
title: type
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutevent/type
---

# type

The type of workout event.

## Declaration

```swift
var type: HKWorkoutEventType { get }
```

## Discussion

Discussion For a description of possible events, see HKWorkoutEventType.

## See Also

### Getting property data

- [dateInterval](healthkit/hkworkoutevent/dateinterval.md)
- [metadata](healthkit/hkworkoutevent/metadata.md)
