Purpose
Display a number on the application icon in the desktop tray... usually to indicate number of unread messages for given application. for example...
SSF API
using ssf name space
SYM_API.setBadgeCount(Number);
Sets the badge count to the given value. Value should be greater than or equal to zero. Settings a zero value will remove the count.
Implementation
In electron for mac this is provided by existing electron api: https://electron.atom.io/docs/api/app/#appsetbadgecountcount-linux-macos
In electron for windows this requires using overlay icon api: https://electron.atom.io/docs/api/browser-window/#winsetoverlayiconoverlay-description-windows
For example implementation see: