Tutorial: application.removeTrayIcon

application.removeTrayIcon

Removes the application’s icon from the tray.

Example

var application = fin.desktop.Application.getCurrent();

application.removeTrayIcon(function () {
    console.log("Removed the tray icon.");
}, function (err) {
    console.log("failure:", err);
});