uds_update_account_action()

Update an existing account action that's registered with the BlackBerry Hub.

Synopsis:

#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)

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 update the account action for, as a uds_account_key_t.

pAccountAction

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.

Library:

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

Description:

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.

Returns:

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.