---
title: matchedKeyCount
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposuredetectionsummary/matchedkeycount
---

# matchedKeyCount

The number of keys that matched for an exposure detection.

## Declaration

```swift
var matchedKeyCount: UInt64 { get }
```

## Discussion

Discussion important: This property is available in iOS 12.5, and in iOS 13.5 and later. The framework computes this property’s value across all matching exposures, not just exposures that meet or exceed minimumRiskScore or minimumRiskScoreFullRange. This value is only available when ENAPIVersion is set to 1 in the app’s Info.plist file.

## See Also

### Exposure Criteria

- [attenuationDurations](exposurenotification/enexposuredetectionsummary/attenuationdurations.md)
- [daysSinceLastExposure](exposurenotification/enexposuredetectionsummary/dayssincelastexposure.md)
- [maximumRiskScore](exposurenotification/enexposuredetectionsummary/maximumriskscore.md)
- [maximumRiskScoreFullRange](exposurenotification/enexposuredetectionsummary/maximumriskscorefullrange.md)
- [riskScoreSumFullRange](exposurenotification/enexposuredetectionsummary/riskscoresumfullrange.md)
- [metadata](exposurenotification/enexposuredetectionsummary/metadata.md)
- [daySummaries](exposurenotification/enexposuredetectionsummary/daysummaries.md)
