---
title: swimmingLocationType
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutconfiguration/swimminglocationtype
---

# swimmingLocationType

The workout session’s swimming location.

## Declaration

```swift
var swimmingLocationType: HKWorkoutSwimmingLocationType { get set }
```

## See Also

### Session settings

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