Update an existing account action that's registered with the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_update_account_action(uds_context_t handle, uds_account_key_t accountId, const uds_account_action_data_t *pAccountAction)
BlackBerry 10.2.0
The handle that's associated with your app's registration with the BlackBerry Hub.
The account key of the existing account to update the account action for, as a uds_account_key_t.
The account action to update. This account action is represented by a uds_account_action_data_t and contains all of the information that's required to register and display the action in the appropriate account view in the BlackBerry Hub.
This function updates an existing account action that's already been registered with the BlackBerry Hub using uds_register_account_action(). You might want to update account actions in response to certain events, such as locale changes.
UDS_SUCCESS if the account action was updated successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.