---
title: mindfulSession
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkcategorytypeidentifier/mindfulsession
---

# mindfulSession

A category sample type for recording a mindful session.

## Declaration

```swift
static let mindfulSession: HKCategoryTypeIdentifier
```

## Discussion

Discussion Use a HKCategoryValue.notApplicable value with these samples.

## See Also

### Related Documentation

- [HKCategoryValue](healthkit/hkcategoryvalue.md)
- [HKCategoryTypeIdentifier](healthkit/hkcategorytypeidentifier.md)
- [HKCategoryType](healthkit/hkcategorytype.md)
- [HKCategorySample](healthkit/hkcategorysample.md)

### Mindfulness and sleep

- [sleepAnalysis](healthkit/hkcategorytypeidentifier/sleepanalysis.md)
- [appleSleepingWristTemperature](healthkit/hkquantitytypeidentifier/applesleepingwristtemperature.md)
- [HKAppleSleepingBreathingDisturbancesClassification](healthkit/hkapplesleepingbreathingdisturbancesclassification.md)
