Remove an existing inbox list item from the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_item_removed(uds_context_t handle, uds_account_key_t accountId, const uds_source_key_t pSourceId)
BlackBerry 10.2.0
The handle that's associated with your app's registration with the BlackBerry Hub.
The account key of the account that's associated with the inbox list item to remove, as a uds_account_key_t.
The unique source key of the inbox list item to remove, as a uds_source_key_t.
This function removes an inbox list item that was added to the BlackBerry Hub using uds_item_added().
UDS_SUCCESS if the inbox list item was removed successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.