---
title: locationType
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutconfiguration/locationtype
---

# locationType

The workout session’s location.

## Declaration

```swift
var locationType: HKWorkoutSessionLocationType { get set }
```

## Discussion

Discussion For a list of possible values, see HKWorkoutSessionLocationType.

## See Also

### Session settings

- [activityType](healthkit/hkworkoutconfiguration/activitytype.md)
- [HKWorkoutSessionLocationType](healthkit/hkworkoutsessionlocationtype.md)
- [swimmingLocationType](healthkit/hkworkoutconfiguration/swimminglocationtype.md)
- [HKWorkoutSwimmingLocationType](healthkit/hkworkoutswimminglocationtype.md)
- [lapLength](healthkit/hkworkoutconfiguration/laplength.md)
