AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Class NotificationManagerModule

    Hierarchy

    • Base
      • NotificationManagerModule
    Index
    • get me(): Identity

      Returns Identity

      me should only be accessed from the fin global (FinApi.me); access through entity classes is not guaranteed to behave sensibly in all calling contexts.

    • Experimental

      Initializes a NotificationManager for the current application, which allows interception of HTML5 web notifications.

      Secured by default, must be called from a WebContents with the NotificationManager.init permission.

      Only one NotificationManager can be active at a time, calls to init will fail otherwise.

      If a WebContents with the NotificationManager active reloads or is closed, it will be possible to create a new one.

      Returns Promise<NotificationManager.NotificationManagerInstance>

      // From Provider context
      const notificationManager = await fin.NotificationManager.init();
      // NotificationManager is now active and will intercept all incoming notifications.