---
title: AVSpatialCaptureDiscomfortReason
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avspatialcapturediscomfortreason
---

# AVSpatialCaptureDiscomfortReason

Constants that indicate the suitability of the current scene to create a comfortable viewing experience.

## Declaration

```swift
struct AVSpatialCaptureDiscomfortReason
```

## Topics

### Discomfort reasons

- [notEnoughLight](avfoundation/avspatialcapturediscomfortreason/notenoughlight.md)
- [subjectTooClose](avfoundation/avspatialcapturediscomfortreason/subjecttooclose.md)

### Initializers

- [init(rawValue:)](avfoundation/avspatialcapturediscomfortreason/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Supporting spatial capture

- [spatialCaptureDiscomfortReasons](avfoundation/avcapturedevice/spatialcapturediscomfortreasons.md)
