---
title: "init(rawValue:)"
framework: security
role: symbol
role_heading: Initializer
path: "security/seckeychaineventmask/init(rawvalue:)"
---

# init(rawValue:)

Initializes an event mask value.

## Declaration

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

## Parameters

- `rawValue`: The bitwise OR of one or more of the event mask constants used to initialize an event mask
