uds_inbox_item_data_get_category_id()

Get the category key for the specified inbox item data.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

The inbox item to get the category key 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:

An account on a device can include categories that are used to sort or filter the information in the account. For example, a messaging account might contain folders for different types of messages, and each folder is considered a category. In this case, the folder ID would be considered the category key.

Returns:

The category key of the specified inbox item, as a uds_category_key_t.