Retrieves all Notifications which were created by the calling application, including child windows.
import {getAll} from 'openfin-notifications'getAll().then((notifications: Notification[]) => { console.log(`Service has ${notifications.length} notifications for this app:`, notifications);}); Copy
import {getAll} from 'openfin-notifications'getAll().then((notifications: Notification[]) => { console.log(`Service has ${notifications.length} notifications for this app:`, notifications);});
There is deliberately no mechanism provided for fetching notifications that were created by a different application.
Retrieves all Notifications which were created by the calling application, including child windows.
There is deliberately no mechanism provided for fetching notifications that were created by a different application.