Structure

DistributedNotificationCenter.Options

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

Declaration

struct Options

Topics

Constants

let NSNotificationDeliverImmediately: DistributedNotificationCenter.Options

When set, the notification is delivered immediately to all observers, regardless of their suspension behavior or suspension state. When not set, allows the normal suspension behavior of notification observers to take place.

let NSNotificationPostToAllSessions: DistributedNotificationCenter.Options

When set, the notification is posted to all sessions. When not set, the notification is sent only to applications within the same login session as the posting task.

Relationships

Conforms To