Platforms to show: All Mac Windows Linux Cross-Platform
WinUserNotificationCenterMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | User Notifications | MBS Win Plugin | 17.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
- 3 events
- event Activated(Notification as WinUserNotificationMBS)
- event Dismissed(Notification as WinUserNotificationMBS, Reason as Integer)
- event Failed(Notification as WinUserNotificationMBS, ErrorCode as Integer)
- 3 properties
- 5 methods
- method Constructor(appName as string, aumi as string)
- method Destructor
- method HideNotification(notification as WinUserNotificationMBS)
- method Setting as Integer
- method ShowNotification(notification as WinUserNotificationMBS)
- 2 shared methods
- shared method Available as Boolean
- shared method configureAUMI(Company as String, Name as String, SurName as String, VersionInfo as String) as String
- 8 constants
Dismissal Reasons
Constant | Value | Description |
---|---|---|
DismissalReasonApplicationHidden | 1 |
The application hid the notification using hide method. |
DismissalReasonTimedOut | 2 |
The notification has expired. |
DismissalReasonUserCanceled | 0 |
The user dismissed the notification. |
Limitations Modes
Constant | Value | Description |
---|---|---|
SettingDisabledByGroupPolicy | 3 |
An administrator has disabled all notifications on this computer through group policy. The group policy setting overrides the user's setting. |
SettingDisabledByManifest | 4 |
This app has not declared itself toast capable in its package.appxmanifest file. This setting is found on the manifest's Application UI page, under the Notification section. For an app to send toast, the Toast Capable option must be set to "Yes". |
SettingDisabledForApplication | 1 |
The user has disabled notifications for this app. |
SettingDisabledForUser | 2 |
The user or administrator has disabled all notifications for this user on this computer. |
SettingEnabled | 0 |
All notifications raised by this app can be displayed. |
This class has no sub classes.
Some examples using this class:
Blog Entries
Videos
Release notes
- Version 22.2
- Removed boolean result for HideNotification and ShowNotification methods for WinUserNotificationCenterMBS class.
- Version 18.3
- Added WinUserNotificationCenterMBS.Setting function.
The items on this page are in the following plugins: MBS Win Plugin.
WinUserInputStringMBS - WinUserNotificationExceptionMBS