Enumeration

NSNotificationSuspensionBehavior

These constants specify the types of notification delivery suspension behaviors.

Declaration

typedef enum NSNotificationSuspensionBehavior : NSUInteger {
    ...
} NSNotificationSuspensionBehavior;

Topics

Constants

NSNotificationSuspensionBehaviorDrop

The server does not queue any notifications with this name and object until suspended with an argument of NO is called.

NSNotificationSuspensionBehaviorCoalesce

The server only queues the last notification of the specified name and object; earlier notifications are dropped. In cover methods for which suspension behavior is not an explicit argument, NSNotificationSuspensionBehaviorCoalesce is the default.

NSNotificationSuspensionBehaviorHold

The server holds all matching notifications until the queue has been filled (queue size determined by the server), at which point the server may flush queued notifications.