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

UserNotification.isPresented

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

Parameters

Parameter Description Example
UserNotificationReference An user notification reference. $ref

Result

Returns 0 or 1 or error.

Description

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