bbmsp_contact_get_status()

Retrieve a contact's status.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_get_status(const bbmsp_contact_t *contact, bbmsp_presence_status_t *status)

Since:

BlackBerry 10.0.0

Arguments:

contact

A pointer to the contact whose status to get.

status

is updated with the contact's status.

Library:

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

Description:

A contact's status can be either busy or available.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.