---
title: cameraLensSmudgeDetectionInterval
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/cameralenssmudgedetectioninterval
---

# cameraLensSmudgeDetectionInterval

The camera lens smudge detection interval.

## Declaration

```swift
var cameraLensSmudgeDetectionInterval: CMTime { get }
```

## Discussion

Discussion cameraLensSmudgeDetectionInterval is set by calling setCameraLensSmudgeDetectionEnabled(_:detectionInterval:). By default, this property returns kCMTimeInvalid.

## See Also

### Configuring lens smudge detection

- [isCameraLensSmudgeDetectionEnabled](avfoundation/avcapturedevice/iscameralenssmudgedetectionenabled.md)
- [setCameraLensSmudgeDetectionEnabled(_:detectionInterval:)](avfoundation/avcapturedevice/setcameralenssmudgedetectionenabled(_:detectioninterval:).md)
- [cameraLensSmudgeDetectionStatus](avfoundation/avcapturedevice/cameralenssmudgedetectionstatus.md)
- [AVCaptureCameraLensSmudgeDetectionStatus](avfoundation/avcapturecameralenssmudgedetectionstatus.md)
