Clears a specific notification from the Notification Center.
Returns true if the notification was successfully cleared. Returns false if the notification was not cleared, without errors.
import {clear} from 'openfin-notifications';clear('uniqueNotificationId'); Copy
import {clear} from 'openfin-notifications';clear('uniqueNotificationId');
ID of the notification to clear.
Clears a specific notification from the Notification Center.
Returns true if the notification was successfully cleared. Returns false if the notification was not cleared, without errors.