Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UserNotification.SetHasActionButton
Sets whether notification has an action button.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UserNotification | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "UserNotification.SetHasActionButton"; UserNotificationReference; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
UserNotificationReference | An user notification reference. | $ref |
Value | The new action button state. | 1 |
Result
Returns "OK" on success.
Description
Sets whether notification has an action button.Set to 0 if the notification has no action button. This will be the case for notifications that are purely for informational purposes and have no user action. The default value is 1.
See also
- UserNotification.GetActionButtonTitle
- UserNotification.hasActionButton
- UserNotification.HasReplyButton
- UserNotification.SetActionButtonTitle
- UserNotification.SetHasReplyButton
Example Databases
This function is free to use.
Created 18th August 2014, last changed 18th August 2014
UserNotification.SetDidDeliverNotificationScript - UserNotification.SetHasReplyButton