Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

UNNotificationMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class User Notifications MBS MacFrameworks Plugin 19.1 Yes No No Yes, macOS only No
Function: The data for a local or remote notification that was delivered to your app.
Notes:
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.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Errors

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.

Some properties using for this class:

Some events for this class:

Blog Entries


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


UNNotificationContentMBS   -   UNNotificationRequestMBS




Links
MBS FileMaker Plugins