---
title: HKWorkoutSessionLocationType
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkworkoutsessionlocationtype
---

# HKWorkoutSessionLocationType

A constant indicating whether the workout session takes place indoors or outdoors.

## Declaration

```swift
enum HKWorkoutSessionLocationType
```

## Topics

### Constants

- [HKWorkoutSessionLocationType.unknown](healthkit/hkworkoutsessionlocationtype/unknown.md)
- [HKWorkoutSessionLocationType.indoor](healthkit/hkworkoutsessionlocationtype/indoor.md)
- [HKWorkoutSessionLocationType.outdoor](healthkit/hkworkoutsessionlocationtype/outdoor.md)

### Initializers

- [init(rawValue:)](healthkit/hkworkoutsessionlocationtype/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)
- [swimmingLocationType](healthkit/hkworkoutconfiguration/swimminglocationtype.md)
- [HKWorkoutSwimmingLocationType](healthkit/hkworkoutswimminglocationtype.md)
- [lapLength](healthkit/hkworkoutconfiguration/laplength.md)
