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


Sets sound name.

Component Version macOS Windows Linux Server iOS SDK
UserNotification 2.8 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "UserNotification.SetSoundName"; UserNotificationReference; SoundName )   More


Parameter Description Example
UserNotificationReference An user notification reference. $ref
SoundName The new sound name.


Returns "OK" on success.


Sets sound name.
The name of the sound file in the resources of the application bundle to play when the notification is delivered. "DefaultSoundName" can be used to play the default Notification Center sound. A value of "" means no sound.
See also UserNotification.GetSoundName

See also

This function is free to use.

Created 18th August 2014, last changed 17th July 2022

UserNotification.SetResponsePlaceholder - UserNotification.SetSubTitle