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)

Since:

BlackBerry 10.2.0

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 (For the qcc command, use the -l unifieddatasourcec option to link against this library)

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: 2015-01-22



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus