Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UNNotification.SetTitle
Sets title of notification.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UNNotification | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "UNNotification.SetTitle"; UNNotificationRef; Title ) More
Parameters
Parameter | Description | Example |
---|---|---|
UNNotificationRef | The reference number of the notification. | $Notification |
Title | The new title. | "Hello" |
Result
Returns OK or error.
Description
Sets title of notification.Examples
Create new notification and set title:
Set Variable [$notification; Value:MBS("UNNotification.New")]
Set Variable [$r; Value:MBS("UNNotification.SetTitle"; $notification; "Hello")]
Try title:
# Create a new notification
Set Variable [$notification; Value:MBS("UNNotification.New")]
# set a title
Set Variable [$r; Value:MBS("UNNotification.SetTitle"; $notification; "Hello")]
# and query back
Set Variable [$title; Value:MBS("UNNotification.Title"; $notification)]
# free memory
Set Variable [$r; Value:MBS("UNNotification.Release"; $notification)]
See also
- UNNotification.Release
- UNNotification.SetBody
- UNNotification.SetCalendarTrigger
- UNNotification.SetScript
- UNNotification.SetSound
- UNNotification.SetSubTitle
- UNNotification.SetTimeIntervalTrigger
- UserNotification.GetTitle
- UserNotification.SetSubTitle
- UserNotification.SetTitle
Example Databases
Blog Entries
FileMaker Magazin
This function is free to use.
Created 15th April 2017, last changed 17th April 2017
UNNotification.SetTimeIntervalTrigger - UNNotification.SubTitle