AboutSupportDeveloper GuideVersion 43.140.100.81

Hierarchy

  • Base
    • NotificationManagerModule

Accessors

Methods

Accessors

  • 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.

Methods

  • 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<NotificationManagerInstance>

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