---
title: "getExposureWindows(summary:completionHandler:)"
framework: exposurenotification
role: symbol
role_heading: Instance Method
path: "exposurenotification/enmanager/getexposurewindows(summary:completionhandler:)"
---

# getExposureWindows(summary:completionHandler:)

Obtains information from the provided summary about the user’s exposure within a window of time.

## Declaration

```swift
func getExposureWindows(summary: ENExposureDetectionSummary, completionHandler: @escaping ENGetExposureWindowsHandler) -> Progress
```

## Parameters

- `summary`: The summary of exposure detections.
- `completionHandler`: The completion handler that the framework calls when the method completes.

## Return Value

Return Value The progress of the method.

## Discussion

Discussion important: This method is available in iOS 12.5, and in iOS 13.5 and later. Use this method to retrieve summary data about the user’s potential exposure within different time windows. This method will only provide information when your app’s Info.plist file has ENAPIVersion set to 2.

## See Also

### Obtaining Exposure Information

- [detectExposures(configuration:diagnosisKeyURLs:completionHandler:)](exposurenotification/enmanager/detectexposures(configuration:diagnosiskeyurls:completionhandler:).md)
- [detectExposures(configuration:completionHandler:)](exposurenotification/enmanager/detectexposures(configuration:completionhandler:).md)
- [ENGetExposureWindowsHandler](exposurenotification/engetexposurewindowshandler.md)
- [getUserTraveled(completionHandler:)](exposurenotification/enmanager/getusertraveled(completionhandler:).md)
- [ENGetUserTraveledHandler](exposurenotification/engetusertraveledhandler.md)
- [getExposureInfo(summary:userExplanation:completionHandler:)](exposurenotification/enmanager/getexposureinfo(summary:userexplanation:completionhandler:).md)
