Update an existing item context action that's registered with the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_update_item_context_action(uds_context_t handle, uds_account_key_t accountId, const uds_item_action_data_t *pItem)
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 item context action for, as a uds_account_key_t.
The item context action to update. This item action is represented by a uds_item_action_data_t and contains all of the information that's required to display and invoke the action based on the state of an inbox list item in the BlackBerry Hub.
This function updates an existing item context action that's already been registered with the BlackBerry Hub using uds_register_item_context_action(). You might want to update item context actions in response to certain events, such as locale changes.
UDS_SUCCESS if the item context action was updated successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.