uds_inbox_item_data_set_notification_state()

Set whether notifications are enabled for the specified inbox item.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_inbox_item_data_set_notification_state(uds_inbox_item_data_t *inbox_item, bool enabled)

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

The inbox item to set the notification state for. This inbox item is represented by a uds_inbox_item_data_t and is created using uds_inbox_item_data_create().

enabled

If true a notification is triggered and sent to the notification service when the inbox item changes, if false a notification is not triggered.

Library:

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

Description:

You can use this function to suppress notifications about changes to an inbox item. You might want to suppress notifications if you expect a large number of changes to be made to the item in a short amount of time, and you don't want to be alerted to the changes (for example, during synchronization).

Returns: