uds_inbox_item_data_get_unread_count()

Get the unread count for the specified inbox item data.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

The inbox item to get the unread count 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:

The unread count indicates when an inbox item should be marked as unread. For a new unread item, this value will be greater than 0.

Returns:

The unread count of the specified inbox item.