<!--
{
  "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/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Exposure Notification"
    ],
    "preciseIdentifier" : "s:So15ENActivityFlagsV8rawValueABs6UInt32V_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Initialize the structure.

```
init(rawValue: UInt32)
```

## Parameters

`rawValue`

The raw value of the activity flag.

## Discussion

> Important:
> This method 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)