uds_account_added()

Add the specified account to the BlackBerry Hub.

Synopsis:

int uds_account_added(uds_context_t handle, uds_account_data_t *pAccount)

Arguments:

handle

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

pAccount

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.

Library:

libunifieddatasourcec

Description:

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.

Returns:

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.

Last modified: 2013-12-21

comments powered by Disqus