---
title: ENGetUserTraveledHandler
framework: exposurenotification
role: symbol
role_heading: Type Alias
path: exposurenotification/engetusertraveledhandler
---

# ENGetUserTraveledHandler

The handler the system invokes when acquistiion of the user’s travel status completes.

## Declaration

```swift
typealias ENGetUserTraveledHandler = (Bool, (any Error)?) -> Void
```

## Parameters

- `traveled`: Indicates whether the user has traveled.
- `error`: A successful invocation if nil; otherwise, the error that occured.

## Discussion

Discussion important: This type is available in iOS 12.5, and in iOS 13.5 and later.

## 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)
- [getExposureWindows(summary:completionHandler:)](exposurenotification/enmanager/getexposurewindows(summary:completionhandler:).md)
- [ENGetExposureWindowsHandler](exposurenotification/engetexposurewindowshandler.md)
- [getUserTraveled(completionHandler:)](exposurenotification/enmanager/getusertraveled(completionhandler:).md)
- [getExposureInfo(summary:userExplanation:completionHandler:)](exposurenotification/enmanager/getexposureinfo(summary:userexplanation:completionhandler:).md)
