---
title: mediumDurationWeight
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposureconfiguration/mediumdurationweight
---

# mediumDurationWeight

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

## Declaration

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