bbmsp_event_contact_changed_get_contact()

Retrieve the contact whose contact information has changed.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_event_contact_changed_get_contact(bbmsp_event_t *event, bbmsp_contact_t **contact)

Since:

BlackBerry 10.0.0

Arguments:

event

A pointer to the BBMSP event that was triggered.

contact

is populated with the contact data whose information was changed. The memory allocated by this function needs to be freed using bbmsp_contact_destroy() when no longer needed.

Library:

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

Description:

When a contact changes their contact information, a BBMSP_SP_EVENT_CONTACT_CHANGED event is triggered.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.