uds_category_updated()

Update an existing category in the BlackBerry Hub.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
int uds_category_updated(uds_context_t handle, const uds_category_data_t *pCategory)

Since:

BlackBerry 10.2.0

Arguments:

handle

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

pCategory

The category to update. This category is represented as a uds_category_data_t and contains all of the information that's required to display the category in the appropriate account.

Library:

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

Description:

This function updates the information in a category that's already been added to the BlackBerry Hub using uds_category_added().

Returns:

UDS_SUCCESS if the category was updated successfuly, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.