---
title: activity
framework: workoutkit
role: symbol
role_heading: Instance Property
path: workoutkit/customworkout/activity
---

# activity

The type of activity performed during the workout.

## Declaration

```swift
var activity: HKWorkoutActivityType { get set }
```

## See Also

### Accessing workout data

- [displayName](workoutkit/customworkout/displayname.md)
- [location](workoutkit/customworkout/location.md)
- [warmup](workoutkit/customworkout/warmup.md)
- [blocks](workoutkit/customworkout/blocks.md)
- [cooldown](workoutkit/customworkout/cooldown.md)
