<!--
{
  "availability" : [
    "iOS: 12.5.0 - 27.0.0",
    "iPadOS: 12.5.0 - 27.0.0",
    "macCatalyst: 12.5.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ExposureNotification",
  "identifier" : "/documentation/ExposureNotification/ENGetUserTraveledHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Exposure Notification"
    ],
    "preciseIdentifier" : "c:@T@ENGetUserTraveledHandler"
  },
  "title" : "ENGetUserTraveledHandler"
}
-->

# ENGetUserTraveledHandler

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

```
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

> Important:
> This type is available in iOS 12.5, and in iOS 13.5 and later.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)