---
title: HKWorkoutSwimmingLocationType
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkworkoutswimminglocationtype
---

# HKWorkoutSwimmingLocationType

The possible locations for swimming.

## Declaration

```swift
enum HKWorkoutSwimmingLocationType
```

## Topics

### Swimming Locations

- [HKWorkoutSwimmingLocationType.openWater](healthkit/hkworkoutswimminglocationtype/openwater.md)
- [HKWorkoutSwimmingLocationType.pool](healthkit/hkworkoutswimminglocationtype/pool.md)
- [HKWorkoutSwimmingLocationType.unknown](healthkit/hkworkoutswimminglocationtype/unknown.md)

### Initializers

- [init(rawValue:)](healthkit/hkworkoutswimminglocationtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Session settings

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