bbmsp_contact_list_get_all_contacts()

Return all contacts in the contact list.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_list_get_all_contacts(const bbmsp_contact_list_t *contact_list, bbmsp_contact_t **contact_array)

Since:

BlackBerry 10.0.0

Arguments:

contact_list

A pointer to the contact list.

contact_array

An updated array of bbmsp_contact_t pointers.

Library:

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

Description:

contact_array should be created to point to an array of bbmsp_contact_t pointers as large as the number of elements in the contact list.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.