Delete notifications from the universal inbox notifications area, and cancel the notifications.
BPS_API int notification_delete(notification_message_t *message)
A pointer to a notification_message_t structure. An item_id can be included. If additional members are provided, they are ignored by this call.
The notification_delete() function deletes all of the calling application's notifications from the BlackBerry Hub notifications area automatically. The user may delete notifications from the Hub notifications area manually.
If you specify an item ID, this function attempts to delete a notification that was previously sent notification with the same item_id instead of all of them.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.