Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

UserNotification.SetContentImage

Sets image shown in the content of the notification.

Component Version macOS Windows Linux Server iOS SDK
UserNotification 3.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "UserNotification.SetContentImage"; UserNotificationReference; Image )   More

Parameters

Parameter Description Example
UserNotificationReference An user notification reference. $ref
Image the new image as container value. Can be JPEG, PNG or other formats supported by macOS. $image

Result

Returns OK or error.

Description

Sets image shown in the content of the notification.
Requires macOS 10.9.

See also

This function is free to use.

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


UserNotification.SetActionButtonTitle - UserNotification.SetDeliveryDate