uds_category_data_get_parent_id()

Get the parent category key for the specified category data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
uds_category_key_t uds_category_data_get_parent_id(uds_category_data_t const *category)

Since:

BlackBerry 10.2.0

Arguments:

category

The category to get the parent category key for. This category is represented by a uds_category_data_t and is created using uds_category_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. These categories can themselves include categories within them, so the parent category key indicates the category key of the parent of this category.

Returns:

The parent category key of the specified category, as a uds_category_key_t.