---
title: weightedDurationSum
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposuresummaryitem/weighteddurationsum
---

# weightedDurationSum

The sum of exposure durations weighted by their attenuation.

## Declaration

```swift
var weightedDurationSum: TimeInterval { get }
```

## Discussion

Discussion important: This property is available in iOS 12.5, and in iOS 13.7 and later. This value is stored as seconds, rounded up to the next minute. Divide by 60 to convert to minutes when displaying to the user. weightedDurationSum ignores infectiousness and diagnosisReportType; therefore, it can be nonzero for encounters that have a infectiousness weight or diagnosis report type weight of 0.

## See Also

### Getting Summary Properties

- [maximumScore](exposurenotification/enexposuresummaryitem/maximumscore.md)
- [scoreSum](exposurenotification/enexposuresummaryitem/scoresum.md)
