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

# ENActivityFlags

Activities that occur while the app isn’t running.

```
struct ENActivityFlags
```

## Overview> Important:
> This symbol is available in iOS 12.5, and in iOS 13.6 and later.

## Topics

### Initializers

[`init(rawValue: UInt32)`](/documentation/ExposureNotification/ENActivityFlags/init(rawValue:))

Initialize the structure.

### Type Properties

[`static var periodicRun: ENActivityFlags`](/documentation/ExposureNotification/ENActivityFlags/periodicRun)

The property that specifies launching the app in the background for periodic operation in iOS 12.5.

[`static var preAuthorizedKeyReleaseNotificationTapped: ENActivityFlags`](/documentation/ExposureNotification/ENActivityFlags/preAuthorizedKeyReleaseNotificationTapped)

The property that specifies launching the app in the foreground to display preauthorized key-release information.

[`static var reserved1: ENActivityFlags`](/documentation/ExposureNotification/ENActivityFlags/reserved1)

This property is reserved.

[`static var reserved2: ENActivityFlags`](/documentation/ExposureNotification/ENActivityFlags/reserved2)

This property is reserved.

## Relationships

### Conforms To

[`OptionSet`](/documentation/Swift/OptionSet)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)