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
MBS(
"UserNotification.isPresented"; /* Whether the notification has been presented. */
$UserNotificationReference) /* An user notification reference.e.g. $ref */
Less
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