Platforms to show: All Mac Windows Linux Cross-Platform

Back to UNCalendarNotificationTriggerMBS class.

UNCalendarNotificationTriggerMBS.Constructor(dateComponents as NSDateComponentsMBS, repeats as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a calendar trigger from the specified date components.

dateComponents: The temporal information to use when constructing the trigger. Provide only the date components that are relevant for your trigger.
repeats: Specify false to deliver the notification one time. Specify YES to reschedule the notification request each time the notification is delivered.

Returns a new calendar trigger based on the specified temporal information.

If you specify true for the repeats parameter, you must explicitly remove the notification request to stop the delivery of the associated notification. Use the methods of UNUserNotificationCenterMBS to remove notification requests that are no longer needed.

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


The biggest plugin in space...