NotificationsService Methods

Methods

Name Description
Dismiss(IEnumerable<INotificationItem>)

Removes the specified notification items.

Dispose()

Releases all resources used by an NotificationsService object.

GetActiveNotificationsCount()

Returns the number of active notifications.

GetNotificationItems()
GetPostponedNotificationsCount()

Returns the number of postponed notifications.

OnNotificationTriggered(IList<INotificationItem>)
Postpone(IEnumerable<INotificationItem>, TimeSpan)

Postpones the specified notification items for the given amount of time.

Refresh()

Refreshes the list of active notifications.

RefreshNotifications()

For internal use.

RegisterNotificationsProvider(INotificationsProvider)

Registers the specified Notifications Provider

SetItemChanged(INotificationItem)

For internal use.

UnregisterNotificationsProvider(INotificationsProvider)

Unregisters the specified Notifications Provider

UpdateDefaultNotificationsProvider(DefaultNotificationsProvider)

Recreates the DefaultNotificationsProvider.