<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEAvailability/Context/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "s:So20BEEligibilityContextV8rawValueABSgSi_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates a new context with the given value of the underlying type.

```
init?(rawValue: Int)
```

## Parameters

`rawValue`

An integer that’s the raw value of the enumeration.

---

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)