uds_inbox_item_data_set_unread_count()

Set the unread count for the specified inbox item data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_inbox_item_data_set_unread_count(uds_inbox_item_data_t *inbox_item, int unread_count)

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

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

unread_count

The unread count to set.

Library:

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

Description:

The unread count lets you indicate when an inbox item should be marked as unread. For a new unread item, this value will be greater than 0. For example, if an inbox item represents a conversation, the unread count indicates the number of unread messages in the conversation.

Returns: