Set the context state for the specified inbox item data.
#include "bb/pim/unified/unified_data_source.h"
void uds_inbox_item_data_set_context_state(uds_inbox_item_data_t *inbox_item, unsigned int context_state)
BlackBerry 10.2.0
The inbox item to set the context state for. This inbox item is represented by a uds_inbox_item_data_t and is created using uds_inbox_item_data_create().
The context state to set.
The context state is used to populate context-specific actions that you register using uds_register_item_context_action(). Each inbox item action includes a context mask, which is a bitmask state that uses a bit for each possible action that can be performed on an item. You set this context mask by calling uds_item_action_data_set_context_mask(). When you register an inbox item action using uds_register_item_context_action(), the context mask is used to query the context state of the inbox item, determining the actions that should appear in that item's context menu.