Platforms to show: All Mac Windows Linux Cross-Platform
Back to UNNotificationResponseMBS class.
UNNotificationResponseMBS.Available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | User Notifications | MBS MacFrameworks Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true on MacOS 10.14 or newer in 64-bit MacOS application.
UNNotificationResponseMBS.UNNotificationDefaultActionIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | User Notifications | MBS MacFrameworks Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The delivery of this action does not require any special configuration of notification categories. Use the didReceiveNotificationResponse event to receive this action.
UNNotificationResponseMBS.UNNotificationDismissActionIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | User Notifications | MBS MacFrameworks Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This action is delivered only if the notification’s category object was configured with the UNNotificationCategoryOptionCustomDismissAction option. To trigger this action, the user must explicitly dismiss the notification interface. For example, the user must tap the Dismiss button or swipe down on the notification interface in watchOS to trigger this action.
Ignoring a notification or flicking away a notification banner does not trigger this action.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.