uds_items_removed_mimetype()

Remove all inbox list items that have the specified MIME type from the BlackBerry Hub.

Synopsis:

#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)

Since:

BlackBerry 10.2.0

Arguments:

handle

The handle that's associated with your app's registration with the BlackBerry Hub.

accountId

The account key of the account to remove the inbox list items from, as a uds_account_key_t.

mimetype

The MIME type of the inbox list items to remove.

Library:

libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)

Description:

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".

Returns:

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.