---
title: immediateDurationWeight
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposureconfiguration/immediatedurationweight
---

# immediateDurationWeight

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

## Declaration

```swift
var immediateDurationWeight: 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)
- [mediumDurationWeight](exposurenotification/enexposureconfiguration/mediumdurationweight.md)
- [nearDurationWeight](exposurenotification/enexposureconfiguration/neardurationweight.md)
- [otherDurationWeight](exposurenotification/enexposureconfiguration/otherdurationweight.md)
- [daysSinceLastExposureThreshold](exposurenotification/enexposureconfiguration/dayssincelastexposurethreshold.md)
