UNNotification.Title
--------------------

Queries title of notification.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UNNotification](component_UNNotification.md) | [7.2](newinversion72.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "UNNotification.Title"; UNNotificationRef ) 

**MBS**( **"UNNotification.Title";** /\* Queries title of notification. \*/  
**$UNNotificationRef**) /\* The reference number of the notification.e.g. $Notification \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UNNotificationRef | The reference number of the notification. | $Notification |

### Result

Returns text or error.

### Description

Queries title of notification.  
### Examples

Try title:

 # Create a new notification   
Set Variable \[$notification ; Value:MBS ("[UNNotification.New](UNNotificationNew.md)")\]  
\# set a title   
Set Variable \[$r ; Value:MBS ("[UNNotification.SetTitle](UNNotificationSetTitle.md)"; $notification ; "Hello")\]  
\# and query back   
Set Variable \[$title ; Value:MBS ("UNNotification.Title"; $notification )\]  
\# free memory   
Set Variable \[$r ; Value:MBS ("[UNNotification.Release](UNNotificationRelease.md)"; $notification )\]  
### See also

- [UNNotification.Action](UNNotificationAction.md)
- [UNNotification.AddFile](UNNotificationAddFile.md)
- [UNNotification.Badge](UNNotificationBadge.md)
- [UNNotification.Body](UNNotificationBody.md)
- [UNNotification.Date](UNNotificationDate.md)
- [UNNotification.List](UNNotificationList.md)
- [UNNotification.New](UNNotificationNew.md)
- [UNNotification.Release](UNNotificationRelease.md)
- [UNNotification.SubTitle](UNNotificationSubTitle.md)
- [UNNotification.Type](UNNotificationType.md)

### Example Databases

- [Mac and iOS/UNNotification](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/UNNotification.shtml#8ScriptAnchor_)

This function is free to use.

Created 15th April 2017 , last changed 17th April 2017

  
[UNNotification.TimeInterval](UNNotificationTimeInterval.md) - [UNNotification.Type](UNNotificationType.md)

[HTML Version](UNNotificationTitle.shtml)