Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | User Notifications | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The NSUserNotificationMBS object not only configures the notification, when the notification is delivered information about when the notification was actually presented to the user (if at all) and other details are provided in the notification object. User applications can create NSUserNotification objects and register them with the NSUserNotificationCenterMBS object to notify the user when an application requires attention.
See NSUserNotificationCenterMBS Class Reference for more information.
Threading Information
The NSUserNotificationCenterMBS class and the NSUserNotificationMBS class are both thread safe.
This is for sending user notifications to the Mac your Xojo application runs on. Not for remote notifications or notifications to iOS devices.
Constant | Value | Description |
---|---|---|
NSUserNotificationActivationTypeReplied | 3 | The activation type for a notification which got a reply. |
Constant | Value | Description |
---|---|---|
NSUserNotificationActivationTypeActionButtonClicked | 2 |
The user clicked on the action button of the notification alert. Available in OS X v10.8 and later. |
NSUserNotificationActivationTypeAdditionalActionClicked | 4 |
User did select an additional action. Only for Mac OS X 10.10 and newer. |
NSUserNotificationActivationTypeContentsClicked | 1 |
The user clicked on the contents of the notification alert. Available in OS X v10.8 and later. |
NSUserNotificationActivationTypeNone | 0 |
The user did not interact with the notification alert. Available in OS X v10.8 and later. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
NSUserNotificationCenterMBS - NSUserScriptTaskMBS