Platforms to show: All Mac Windows Linux Cross-Platform
User Notifications
Classes for User Notifications on Mac OS.
- Classes
- class UNCalendarNotificationTriggerMBS
- method Constructor(dateComponents as NSDateComponentsMBS, repeats as boolean)
- shared method trigger(dateComponents as NSDateComponentsMBS, repeats as boolean) as UNCalendarNotificationTriggerMBS
- property dateComponents as NSDateComponentsMBS
- property nextTriggerDate as Date
- property nextTriggerDateTime as DateTime
- class UNMutableNotificationContentMBS
- method addAttachment(attachment as UNNotificationAttachmentMBS)
- method clearBadge
- method Constructor
- method setAttachments(attachments() as UNNotificationAttachmentMBS)
- property badge as Integer
- property body as String
- property categoryIdentifier as String
- property sound as UNNotificationSoundMBS
- property subtitle as String
- property summaryArgument as String
- property summaryArgumentCount as Integer
- property threadIdentifier as String
- property title as String
- property userInfo as Dictionary
- class UNNotificationActionMBS
- shared method action(identifier as string, title as string, options as integer) as UNNotificationActionMBS
- shared method Available as boolean
- method Constructor(identifier as string, title as string, options as integer)
- method copy as UNNotificationActionMBS
- property Handle as Integer
- property identifier as String
- property options as Integer
- property title as String
- class UNNotificationAttachmentMBS
- shared method attachment(identifier as String, File as FolderItem, options as Dictionary = nil, byref error as NSErrorMBS) as UNNotificationAttachmentMBS
- shared method attachment(identifier as String, URL as String, options as Dictionary = nil, byref error as NSErrorMBS) as UNNotificationAttachmentMBS
- shared method Available as boolean
- method Constructor(identifier as String, File as FolderItem, options as Dictionary = nil)
- method Constructor(identifier as String, URL as String, options as Dictionary = nil)
- method copy as UNNotificationAttachmentMBS
- shared method UNNotificationAttachmentOptionsThumbnailClippingRectKey as String
- shared method UNNotificationAttachmentOptionsThumbnailHiddenKey as String
- shared method UNNotificationAttachmentOptionsThumbnailTimeKey as String
- shared method UNNotificationAttachmentOptionsTypeHintKey as String
- property Handle as Integer
- property identifier as String
- property type as String
- property URL as String
- class UNNotificationCategoryMBS
- method actions as UNNotificationActionMBS()
- shared method Available as boolean
- shared method category(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, hiddenPreviewsBodyPlaceholder as String, categorySummaryFormat as String, options as Integer) as UNNotificationCategoryMBS
- shared method category(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, hiddenPreviewsBodyPlaceholder as String, options as Integer) as UNNotificationCategoryMBS
- shared method category(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, options as Integer) as UNNotificationCategoryMBS
- method Constructor(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, hiddenPreviewsBodyPlaceholder as String, categorySummaryFormat as String, options as Integer)
- method Constructor(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, hiddenPreviewsBodyPlaceholder as String, options as Integer)
- method Constructor(identifier as String, actions() as UNNotificationActionMBS, intentIdentifiers() as string, options as Integer)
- method copy as UNNotificationCategoryMBS
- method intentIdentifiers as String()
- property categorySummaryFormat as String
- property Handle as Integer
- property hiddenPreviewsBodyPlaceholder as String
- property identifier as String
- property options as Integer
- class UNNotificationContentMBS
- method attachment(Index as integer) as UNNotificationAttachmentMBS
- method attachments as UNNotificationAttachmentMBS()
- shared method Available as boolean
- method Constructor
- method Constructor(Handle as Integer)
- method copy as UNNotificationContentMBS
- method mutableCopy as UNMutableNotificationContentMBS
- property attachmentCount as Integer
- property badge as Integer
- property body as String
- property categoryIdentifier as String
- property Handle as Integer
- property sound as UNNotificationSoundMBS
- property subtitle as String
- property summaryArgument as String
- property summaryArgumentCount as Integer
- property threadIdentifier as String
- property title as String
- property userInfo as Dictionary
- class UNNotificationMBS
- shared method Available as boolean
- method Constructor
- method Constructor(Handle as Integer)
- method copy as UNNotificationMBS
- shared method UNErrorDomain as String
- property Date as Date
- property DateTime as DateTime
- property Handle as Integer
- property request as UNNotificationRequestMBS
- class UNNotificationRequestMBS
- shared method Available as boolean
- method Constructor(identifier as string, content as UNNotificationContentMBS, trigger as UNNotificationTriggerMBS)
- method Copy as UNNotificationRequestMBS
- shared method request(identifier as string, content as UNNotificationContentMBS, trigger as UNNotificationTriggerMBS) as UNNotificationRequestMBS
- property content as UNNotificationContentMBS
- property Handle as Integer
- property identifier as String
- property trigger as UNNotificationTriggerMBS
- class UNNotificationResponseMBS
- shared method Available as boolean
- method Constructor
- method copy as UNNotificationResponseMBS
- shared method UNNotificationDefaultActionIdentifier as String
- shared method UNNotificationDismissActionIdentifier as String
- property actionIdentifier as String
- property Handle as Integer
- property notification as UNNotificationMBS
- class UNNotificationSettingsMBS
- shared method Available as boolean
- method Constructor
- method copy as UNNotificationSettingsMBS
- shared method settings as UNNotificationSettingsMBS
- property alertSetting as Integer
- property alertStyle as Integer
- property authorizationStatus as Integer
- property badgeSetting as Integer
- property criticalAlertSetting as Integer
- property Handle as Integer
- property lockScreenSetting as Integer
- property notificationCenterSetting as Integer
- property providesAppNotificationSettings as Boolean
- property showPreviewsSetting as Integer
- property soundSetting as Integer
- class UNNotificationSoundMBS
- shared method Available as boolean
- method Constructor
- method copy as UNNotificationSoundMBS
- shared method criticalSoundNamed(name as string) as UNNotificationSoundMBS
- shared method criticalSoundNamed(name as string, volume as double) as UNNotificationSoundMBS
- shared method defaultCriticalSound as UNNotificationSoundMBS
- shared method defaultCriticalSoundWithAudioVolume(volume as double) as UNNotificationSoundMBS
- shared method defaultSound as UNNotificationSoundMBS
- shared method soundNamed(name as string) as UNNotificationSoundMBS
- property Handle as Integer
- class UNNotificationTriggerMBS
- shared method Available as boolean
- method Constructor
- method copy as UNNotificationTriggerMBS
- property Handle as Integer
- property repeats as Boolean
- class UNPushNotificationTriggerMBS
- method Constructor
- class UNTextInputNotificationActionMBS
- shared method action(identifier as string, title as string, options as integer, textInputButtonTitle as string, textInputPlaceholder as string) as UNTextInputNotificationActionMBS
- method Constructor(identifier as string, title as string, options as integer, textInputButtonTitle as string, textInputPlaceholder as string)
- property textInputButtonTitle as String
- property textInputPlaceholder as String
- class UNTextInputNotificationResponseMBS
- method Constructor
- property userText as String
- class UNTimeIntervalNotificationTriggerMBS
- method Constructor(timeInterval as double, repeats as boolean)
- shared method trigger(timeInterval as double, repeats as boolean) as UNTimeIntervalNotificationTriggerMBS
- property nextTriggerDate as Date
- property nextTriggerDateTime as DateTime
- property timeInterval as Double
- class UNUserNotificationCenterMBS
- method addNotificationRequest(request as UNNotificationRequestMBS, tag as Variant = nil)
- shared method Available as boolean
- method Constructor
- method Destructor
- method getDeliveredNotifications(tag as Variant = nil)
- method getNotificationCategories(tag as Variant = nil)
- method getNotificationSettings(tag as Variant = nil)
- method getPendingNotificationRequests(tag as Variant = nil)
- method removeAllDeliveredNotifications
- method removeAllPendingNotificationRequests
- method removeDeliveredNotifications(identifiers() as string)
- method removePendingNotificationRequests(identifiers() as string)
- method requestAuthorization(options as integer, tag as Variant = nil)
- method setNotificationCategories(categories() as UNNotificationCategoryMBS)
- property Handle as Integer
- property supportsContentExtensions as Boolean
- event addNotificationRequestCompleted(request as UNNotificationRequestMBS, error as NSErrorMBS, tag as variant)
- event didReceiveNotificationResponse(response as UNNotificationResponseMBS)
- event getDeliveredNotificationsCompleted(notifications() as UNNotificationMBS, tag as variant)
- event getNotificationCategoriesCompleted(categories() as UNNotificationCategoryMBS, tag as variant)
- event getNotificationSettingsCompleted(settings as UNNotificationSettingsMBS, tag as variant)
- event getPendingNotificationRequestsCompleted(requests() as UNNotificationRequestMBS, tag as variant)
- event openSettingsForNotification(notification as UNNotificationMBS)
- event requestAuthorizationCompleted(granted as boolean, error as NSErrorMBS, tag as variant)
- event willPresentNotification(notification as UNNotificationMBS, byref options as Integer)
- class WinUserNotificationCenterMBS
- shared method Available as Boolean
- shared method configureAUMI(Company as String, Name as String, SurName as String, VersionInfo as String) as String
- method Constructor(appName as string, aumi as string)
- method Destructor
- method HideNotification(notification as WinUserNotificationMBS)
- method Setting as Integer
- method ShowNotification(notification as WinUserNotificationMBS)
- property appName as String
- property aumi as String
- property Handle as Integer
- event Activated(Notification as WinUserNotificationMBS)
- event Dismissed(Notification as WinUserNotificationMBS, Reason as Integer)
- event Failed(Notification as WinUserNotificationMBS, ErrorCode as Integer)
- class WinUserNotificationExceptionMBS
- class WinUserNotificationMBS
- method Create
- property ExpiresOnReboot as Boolean
- property Group as String
- property Handle as Integer
- property Image as String
- property NotificationMirroring as Integer
- property Priority as Integer
- property RemoteId as String
- property SuppressPopup as Boolean
- property Tag as String
- property Text as String
- property XMLUsed as String
- property DataValues as Dictionary
- property Text(Index as Integer) as String
- class UNCalendarNotificationTriggerMBS
- Blog Entries
Release notes
- Version 22.2
- Added more properties for WinUserNotificationMBS class.
- Removed boolean result for HideNotification and ShowNotification methods for WinUserNotificationCenterMBS class.
- Version 21.1
- Added Constructor for handle to UNNotificationMBS, UNNotificationContentMBS, NSToolbarItemMBS and NSToolbarMBS.
- Version 21.0
- Deprecated NSUserNotificationActionMBS in favor of UNNotificationActionMBS class.
- Deprecated NSUserNotificationCenterMBS in favor of UNUserNotificationCenterMBS class.
- Deprecated NSUserNotificationMBS in favor of UNNotificationMBS class.
- Version 19.3
- Fixed problem with WinUserNotificationMBS class to show three lines in notifications.
- Version 19.2
- Added copy function to UNNotificationAttachmentMBS class.
- Added removeAllScheduledNotifications method to NSUserNotificationCenterMBS class.
- Fixed autorelease problem with NSUserNotificationActionMBS constructor.
- Fixed problem with UNUserNotificationCenterMBS constructor, too.
- Version 19.1
- Added UNNotificationMBS and related classes for notifications on MacOS 10.14 or newer. (NSUserNotificationMBS is deprecated by Apple.)
- Version 18.3
- Added WinUserNotificationCenterMBS.Setting function.
- Version 18.0
- Changed WinUserNotificationMBS to better handle empty texts.
- Version 17.2
- Added WinUserNotificationMBS class for notifications on Windows.
The items on this page are in the following plugins: MBS MacFrameworks Plugin, MBS Win Plugin.