Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSDistributedNotificationCenterMBS class.
NSDistributedNotificationCenterMBS.NSNotificationDeliverImmediately = 1
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
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.
NSDistributedNotificationCenterMBS.NSNotificationPostToAllSessions = 2
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
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.
NSDistributedNotificationCenterMBS.NSNotificationSuspensionBehaviorCoalesce = 2
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
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.
NSDistributedNotificationCenterMBS.NSNotificationSuspensionBehaviorDeliverImmediately = 4
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
The server delivers notifications matching this registration irrespective of whether Suspended is set to true. When a notification with this suspension behavior is matched, it has the effect of first flushing any queued notifications. The effect is as if setSuspended: with an argument of false were first called if the application is suspended, followed by the notification in question being delivered, followed by a transition back to the previous suspended or unsuspended state.
NSDistributedNotificationCenterMBS.NSNotificationSuspensionBehaviorDrop = 1
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
The server does not queue any notifications with this name and object until Suspended is set to false.
NSDistributedNotificationCenterMBS.NSNotificationSuspensionBehaviorHold = 3
Type | Topic | Plugin | Version |
const | Notifications | MBS MacBase Plugin | 9.7 |
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.
The items on this page are in the following plugins: MBS MacBase Plugin.