uds_account_removed()

Remove an existing account from the BlackBerry Hub.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
int uds_account_removed(uds_context_t handle, uds_account_key_t accountId)

Since:

BlackBerry 10.2.0

Arguments:

handle

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

accountId

The account key of the existing account to remove, as a uds_account_key_t.

Library:

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

Description:

This function removes an account that was added to the BlackBerry Hub using uds_account_added().

Returns:

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