Add the specified account to the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_account_added(uds_context_t handle, uds_account_data_t *pAccount)
BlackBerry 10.2.0
The handle that's associated with your app's registration with the BlackBerry Hub.
The account to add. This account is represented as a uds_account_data_t and contains all of the information that's required to register and display the account in the BlackBerry Hub.
This function adds an account to the BlackBerry Hub. If the addition is successful (that is, this function returns UDS_SUCCESS), a unique icon representing the added account appears in the BlackBerry Hub.
UDS_SUCCESS if the account was added successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.