UserNotification.SetTitle
-------------------------

Sets the title of the notification.

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

MBS( "UserNotification.SetTitle"; UserNotificationReference; Text ) 

**MBS**( **"UserNotification.SetTitle";** /\* Sets the title of the notification. \*/  
**$UserNotificationReference**; /\* An user notification reference.e.g. $ref \*/   
**$Text**) /\* The new title for the notification.e.g. "Hello World" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UserNotificationReference | An user notification reference. | $ref |
| Text | The new title for the notification. | "Hello World" |

### Result

Returns "OK" on success.

### Description

Sets the title of the notification.   
Must be localized as it will be presented to the user. String will be truncated to a length appropriate for display.  
See also [UserNotification.GetTitle](UserNotificationGetTitle.md)  
### See also

- [UNNotification.SetSubTitle](UNNotificationSetSubTitle.md)
- [UNNotification.SetTitle](UNNotificationSetTitle.md)
- [UNNotification.SubTitle](UNNotificationSubTitle.md)
- [UserNotification.Create](UserNotificationCreate.md)
- [UserNotification.GetSubTitle](UserNotificationGetSubTitle.md)
- [UserNotification.GetTitle](UserNotificationGetTitle.md)
- [UserNotification.isRemote](UserNotificationisRemote.md)
- [UserNotification.Release](UserNotificationRelease.md)
- [UserNotification.SetSubTitle](UserNotificationSetSubTitle.md)

This function is free to use.

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

  
[UserNotification.SetSubTitle](UserNotificationSetSubTitle.md) - [UserNotification.SetUserInfo](UserNotificationSetUserInfo.md)

[HTML Version](UserNotificationSetTitle.shtml)