bbmsp_contact_list_get_contact()

Retrieve a contact with the handle from a contact list.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_list_get_contact(const bbmsp_contact_list_t *contact_list, char *handle, bbmsp_contact_t *contact)

Since:

BlackBerry 10.0.0

Arguments:

contact_list

A pointer to the contact list to search.

handle

A null-terminated pointer to the handle.

contact

is created using bbmsp_contact_create() and updated to the found contact.

Library:

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

Description:

Returns:

BBMSP_SUCCESS if found, BBMSP_FAILURE otherwise.