---
title: nearDurationWeight
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposureconfiguration/neardurationweight
---

# nearDurationWeight

The weight assigned to a risk level indicating the duration of the user’s exposure at close distance.

## Declaration

```swift
var nearDurationWeight: Double { get set }
```

## Discussion

Discussion important: This property is available in iOS 12.5, and in iOS 13.7 and later.

## See Also

### Configuring Duration

- [attenuationDurationThresholds](exposurenotification/enexposureconfiguration/attenuationdurationthresholds.md)
- [immediateDurationWeight](exposurenotification/enexposureconfiguration/immediatedurationweight.md)
- [mediumDurationWeight](exposurenotification/enexposureconfiguration/mediumdurationweight.md)
- [otherDurationWeight](exposurenotification/enexposureconfiguration/otherdurationweight.md)
- [daysSinceLastExposureThreshold](exposurenotification/enexposureconfiguration/dayssincelastexposurethreshold.md)
