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 | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A UNNotification object contains the initial notification request, which contains the notification's payload, and the date on which the notification was delivered.
Don't create notification objects directly. When handling notifications, the system delivers notification objects to your events. The UNUserNotificationCenterMBS object also maintains the list of notifications that were previously delivered, and you use the getDeliveredNotifications method to retrieve those objects.
Constant | Value | Description |
---|---|---|
UNErrorCodeAttachmentCorrupt | 105 |
The file for an attachment is corrupt. |
UNErrorCodeAttachmentInvalidFileSize | 102 |
An attachment is too large. |
UNErrorCodeAttachmentInvalidURL | 100 |
The URL for an attachment was invalid. |
UNErrorCodeAttachmentMoveIntoDataStoreFailed | 104 |
An error occurred when trying to move an attachment to the system data store. |
UNErrorCodeAttachmentNotInDataStore | 103 |
The specified attachment is not in the system data store. |
UNErrorCodeAttachmentUnrecognizedType | 101 |
The file type of an attachment is not supported. |
UNErrorCodeNotificationInvalidNoContent | 1401 |
The notification has no user-facing content, but should. |
UNErrorCodeNotificationInvalidNoDate | 1400 |
The notification does not have an associated date, but should. |
UNErrorCodeNotificationsNotAllowed | 1 |
Notifications are not allowed. This error occurs when you try to submit a notification request and your app or app extension is not authorized to schedule notifications. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
UNNotificationContentMBS - UNNotificationRequestMBS