---
title: HKWorkoutSessionType
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkworkoutsessiontype
---

# HKWorkoutSessionType

The type of session.

## Declaration

```swift
enum HKWorkoutSessionType
```

## Topics

### Types

- [HKWorkoutSessionType.mirrored](healthkit/hkworkoutsessiontype/mirrored.md)
- [HKWorkoutSessionType.primary](healthkit/hkworkoutsessiontype/primary.md)

### Initializers

- [init(rawValue:)](healthkit/hkworkoutsessiontype/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

### Samples

- [Adding samples to a workout](healthkit/adding-samples-to-a-workout.md)
- [Accessing condensed workout samples](healthkit/accessing-condensed-workout-samples.md)
- [Dividing a HealthKit workout into activities](healthkit/dividing-a-healthkit-workout-into-activities.md)
- [HKWorkout](healthkit/hkworkout.md)
- [HKWorkoutActivity](healthkit/hkworkoutactivity.md)
- [HKWorkoutBuilder](healthkit/hkworkoutbuilder.md)
- [HKWorkoutType](healthkit/hkworkouttype.md)
- [HKWorkoutTypeIdentifier](healthkit/hkworkouttypeidentifier.md)
- [HKWorkoutActivityType](healthkit/hkworkoutactivitytype.md)
- [HKWorkoutEvent](healthkit/hkworkoutevent.md)
