uds_category_added()

Add a category to an existing account in the BlackBerry Hub.

Synopsis:

int uds_category_added(uds_context_t handle, const uds_category_data_t *pCategory)

Arguments:

handle

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

pCategory

The category to add. 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

Description:

This function adds a category to an account that's already been registered with the BlackBerry Hub using uds_account_added(). To specify the account that you want to add the category to, you can call uds_category_data_set_account_id().

Returns:

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

Last modified: 2013-12-21

comments powered by Disqus