---
title: SRSleepSession
framework: SensorKit
role: symbol
role_heading: Class
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: sensorkit/srsleepsession
---

# SRSleepSession

## Declaration

```swift
class SRSleepSession
```

## Topics

### Instance Properties

- [duration](sensorkit/srsleepsession/duration.md)
- [identifier](sensorkit/srsleepsession/identifier.md)
- [startDate](sensorkit/srsleepsession/startdate.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
