Platforms to show: All Mac Windows Linux Cross-Platform

Back to NotificationMBS class.

NotificationMBS.Constructor(name as string = "", ref as Variant = nil, tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Notifications MBS DataTypes Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new notification with the given values.
Example
dim n as new NotificationMBS("DatabaseChangedNotification")
NotificationMBS.send(n)

NotificationMBS.SendNotification

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Notifications MBS DataTypes Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sends this notification.
Example
dim n as new NotificationMBS("DatabaseChangedNotification")
n.SendNotification

All registered receivers will get the ReceivedNotification method called as well as all registered observers will get an ReceivedNotification event.
Of course notifications are filtered by name and/or referenced object.

NotificationMBS.SendNotificationDelayed

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Notifications MBS DataTypes Plugin 10.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sends a notification.
Example
dim n as new NotificationMBS("DatabaseChangedNotification")
n.SendNotificationDelayed

Same as SendNotification method, but the notification will be delivered later on the main thread. The notification is queued and will wait until there is free CPU time.

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


The biggest plugin in space...