UserNotification.isPresented
----------------------------

Whether the notification has been presented.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UserNotification](component_UserNotification.md) | [2.8](newinversion28.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "UserNotification.isPresented"; UserNotificationReference ) 

**MBS**( **"UserNotification.isPresented";** /\* Whether the notification has been presented. \*/  
**$UserNotificationReference**) /\* An user notification reference.e.g. $ref \*/ 

### 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

- [UserNotification.deliveredNotifications](UserNotificationdeliveredNotifications.md)
- [UserNotification.deliverNotification](UserNotificationdeliverNotification.md)
- [UserNotification.GetResponse](UserNotificationGetResponse.md)
- [UserNotification.isRemote](UserNotificationisRemote.md)

This function is free to use.

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

  
[UserNotification.hasActionButton](UserNotificationhasActionButton.md) - [UserNotification.isRemote](UserNotificationisRemote.md)

[HTML Version](UserNotificationisPresented.shtml)