Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Whether the notification has been presented.

Component Version macOS Windows Linux Server iOS SDK
UserNotification 2.8 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "UserNotification.isPresented"; UserNotificationReference )   More


Parameter Description Example
UserNotificationReference An user notification reference. $ref


Returns 0 or 1 or error.


Whether the notification has been presented.
In some cases, e.g. when your application is frontmost, the notification center may decide not to actually present a delivered notification. In that case, the value of this property will be 0. It will be set to 1 if the notification was presented according to user preferences (note: this can mean no dialog, animation, or sound, if the user has turned off notifications completely for your application).

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014

UserNotification.hasActionButton - UserNotification.isRemote