Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

UserNotification.SetSoundName

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

Parameters

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

Result

Returns "OK" on success.

Description

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

💬 Ask a question or report a problem