new Notification(options, callbackopt, errorCallbackopt)
Creates a new Notification
Notification represents a window on OpenFin Runtime which is shown briefly to the user on the bottom-right corner of the primary monitor. A notification is typically used to alert the user of some important event which requires his or her attention.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
Object | The options of the notification. See the tutorial. |
|
callback |
function |
<optional> |
called if the method succeeds. |
errorCallback |
function |
<optional> |
called if the method fails. The reason for failure is passed as an argument. |
- Tutorials: