uds_item_action_data_set_context_mask()

Set the context mask for the specified item action data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_item_action_data_set_context_mask(uds_item_action_data_t *item_action, unsigned int mask)

Since:

BlackBerry 10.2.0

Arguments:

item_action

The item action to set the context mask for. This item action is represented by a uds_item_action_data_t and is created using uds_item_action_data_create().

mask

The context mask to set.

Library:

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

Description:

This context mask is a bitmask state that's used to populate item-specific actions. You can designate a bit for each possible action that can be performed on an item (such as "read", "mark as unread", and so on). Then, when you register item-specific actions using uds_register_item_context_action(), you specify a mask that's used to query the bit state of the item's context state and populate the context menu with the appropriate items.

Returns: