---
title: UNNotificationCategoryOptions
framework: usernotifications
role: symbol
role_heading: Structure
path: usernotifications/unnotificationcategoryoptions
---

# UNNotificationCategoryOptions

Constants indicating how to handle notifications associated with this category.

## Declaration

```swift
struct UNNotificationCategoryOptions
```

## Topics

### Creating an option

- [init(rawValue:)](usernotifications/unnotificationcategoryoptions/init(rawvalue:).md)

### Customizing a category

- [allowInCarPlay](usernotifications/unnotificationcategoryoptions/allowincarplay.md)
- [allowAnnouncement](usernotifications/unnotificationcategoryoptions/allowannouncement.md)

### Managing hidden preview behavior

- [hiddenPreviewsShowTitle](usernotifications/unnotificationcategoryoptions/hiddenpreviewsshowtitle.md)
- [hiddenPreviewsShowSubtitle](usernotifications/unnotificationcategoryoptions/hiddenpreviewsshowsubtitle.md)

### Managing action handling behavior

- [customDismissAction](usernotifications/unnotificationcategoryoptions/customdismissaction.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Getting the Options

- [options](usernotifications/unnotificationcategory/options.md)
