bbmsp_contact_list_add_contact()

Add a contact to this contact list.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_list_add_contact(bbmsp_contact_list_t *contact_list, bbmsp_contact_t *contact)

Since:

BlackBerry 10.0.0

Arguments:

contact_list

A pointer to the contact list to add the contact to.

contact

A pointer to the contact to add.

Library:

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

Description:

If the contact already exists it is replaced with this new value.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.