CFNotificationSuspensionBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flags that determine how notifications should be handled when the application is running in the background.
public enum CFNotificationSuspensionBehavior
type CFNotificationSuspensionBehavior =
- Inheritance
-
CFNotificationSuspensionBehavior
Fields
Name | Value | Description |
---|---|---|
Drop | 1 | The notifications will be dropped while the application is in the background. |
Coalesce | 2 | Only the last one of the notifications posted while the application was in the background is posted. |
Hold | 3 | Notifications are kept around in a queue, and they are all delivered serially when the application returns to the foreground. Some notifications might be dropped if the queue overflows. |
DeliverImmediately | 4 | The notifications are delivered immediately. Any pending notifications that might be queued are delivered first. |