bbmsp_contact_list_contains_contact()

Check if a contact is in a contact list.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_list_contains_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 check.

contact

A pointer to the contact to search for.

Library:

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

Description:

The contact's handle is used to determine equality.

Returns:

BBMSP_SUCCESS if found, BBMSP_FAILURE otherwise.