<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INShortcutAvailabilityOptions/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "s:So29INShortcutAvailabilityOptionsV8rawValueABSu_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Returns the set of availability categories represented by the given value.

```
init(rawValue: UInt)
```

## Parameters

`rawValue`

An unsigned integer expressing the union of the options for the set.

## Discussion

It’s unlikely that your code should call this directly. Instead, refer to the static members to create an <doc://com.apple.documentation/documentation/Swift/OptionSet> of [`INShortcutAvailabilityOptions`](/documentation/Intents/INShortcutAvailabilityOptions).

---

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)