Remove all inbox list items that have the specified MIME type from the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_items_removed_mimetype(uds_context_t handle, uds_account_key_t accountId, const char *mimetype)
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 inbox list items from, as a uds_account_key_t.
The MIME type of the inbox list items to remove.
This function removes all inbox list items that use a particular MIME type from the BlackBerry Hub. For example, you could use this function to remove all inbox list items that have a MIME type of "text/plain".
UDS_SUCCESS if the inbox list items with the specified MIME type were removed successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.