---
title: DistributedNotificationCenter.Options
framework: foundation
role: symbol
role_heading: Structure
path: foundation/distributednotificationcenter/options
---

# DistributedNotificationCenter.Options

These constants specify the behavior of notifications posted using the postNotificationName(_:object:userInfo:options:) method.

## Declaration

```swift
struct Options
```

## Topics

### Constants

- [NSNotificationDeliverImmediately](foundation/nsnotificationdeliverimmediately.md)
- [deliverImmediately](foundation/distributednotificationcenter/options/deliverimmediately.md)
- [NSNotificationPostToAllSessions](foundation/nsnotificationposttoallsessions.md)
- [postToAllSessions](foundation/distributednotificationcenter/options/posttoallsessions.md)

### Initializers

- [init(rawValue:)](foundation/distributednotificationcenter/options/init(rawvalue:).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

### Constants

- [DistributedNotificationCenter.CenterType](foundation/distributednotificationcenter/centertype.md)
- [DistributedNotificationCenter.SuspensionBehavior](foundation/distributednotificationcenter/suspensionbehavior.md)
