UNNotificationRequestMBS methods

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

Back to UNNotificationRequestMBS class.

UNNotificationRequestMBS.Constructor(identifier as string, content as UNNotificationContentMBS, trigger as UNNotificationTriggerMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a notification request object that you use to schedule a notification.

identifier: An identifier for the request; this parameter must not be nil. You can use this identifier to cancel the request if it is still pending (see the removePendingNotificationRequests method).
content: The content of the notification. This parameter must not be nil.
trigger: The condition that causes the notification to be delivered. Specify nil to deliver the notification right away.

Returns a new notification request object.

Use this method when you want to schedule the delivery of a local notification. This method creates the request object that you subsequently pass to the addNotificationRequest method.
The system uses the identifier parameter to determine how to handle the request:

UNNotificationRequestMBS.Copy as UNNotificationRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the object.

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


💬 Ask a question or report a problem