You can listen for notifications and you can add your own notifications to the notification history.
The NotificationHistory class provides a mechanism for accumulating notifications. It stores a log of notification (NotificationHistoryItem) objects that represents a collection of Notifications.
Your application can perform two basic operations with notifications: