bbmsp_contact_create()

Create a new BBM contact structure.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_create(bbmsp_contact_t **contact)

Since:

BlackBerry 10.0.0

Arguments:

contact

An updated pointer to the new contact.

Library:

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

Description:

Creates a BBM contact structure. When the contact is no longer required, call bbmsp_contact_destroy() to free up the associated memory.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.