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