AboutSupportDeveloper GuideVersion 17.0.12
  • 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');

    Parameters

    • id: string

      ID of the notification to clear.

    Returns Promise<boolean>