<!--
{
  "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/ENActivityHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Exposure Notification"
    ],
    "preciseIdentifier" : "c:@T@ENActivityHandler"
  },
  "title" : "ENActivityHandler"
}
-->

# ENActivityHandler

The handler the system invokes to report activities that occurred while the app wasn’t running.

```
typealias ENActivityHandler = (ENActivityFlags) -> Void
```

## Parameters

`activityFlags`

The flags indicating what activity occured while the app wasn’t running.

---

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)