uds_inbox_item_data_get_notification_state()

Get whether notifications are enabled for the specified inbox item data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
bool uds_inbox_item_data_get_notification_state(uds_inbox_item_data_t const *inbox_item)

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

The inbox item to get 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().

Library:

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

Description:

This function indicates whether 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:

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