Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UserNotification.SetIdentifier
Sets the identifier used to uniquely identify a notification.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UserNotification | 3.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "UserNotification.SetIdentifier"; UserNotificationReference; Identifier ) More
Parameters
Parameter | Description | Example |
---|---|---|
UserNotificationReference | An user notification reference. | $ref |
Identifier | The new identifier. | "id1234" |
Result
Returns OK or error.
Description
Sets the identifier used to uniquely identify a notification.A notification delivered with the same identifier as an existing notification will replace that notification, rather than display a new one.
Requires macOS 10.9.
See also
- UNNotification.Identifier
- UNNotification.ThreadIdentifier
- UserNotification.GetIdentifier
- UserNotification.SetSoundName
- UserNotification.SetSubTitle
- UserNotification.SetUserInfo
This function is free to use.
Created 18th August 2014, last changed 10th August 2020
UserNotification.SetHasReplyButton - UserNotification.SetInformativeText