bbmsp_user_profile_box_itemlist_get_at()

Retrieve an item from a profile box item list.

Synopsis:

#include "bbmsp/bbmsp_user_profile_box.h"
 
BBMSP_API const bbmsp_user_profile_box_item_t* bbmsp_user_profile_box_itemlist_get_at(bbmsp_user_profile_box_item_list_t *item_list, unsigned int index)

Since:

BlackBerry 10.0.0

Arguments:

item_list

A pointer to the item list that contains the item to retrieve.

index

The index of the item to retrieve.

Library:

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

Description:

Individual items in a profile box list are accessed by index number. Index numbers begin at 0. If bbmsp_can_show_profile_box() returns false, this method returns a null pointer.

Returns:

A pointer to the item.