bbmsp_contact_get_personal_message()

Retrieve a contact's personal message.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_get_personal_message(const bbmsp_contact_t *contact, char *personal_message, size_t personal_message_buffer_size)

Since:

BlackBerry 10.0.0

Arguments:

contact

A pointer to the contact whose personal message to retrieve.

personal_message

A buffer that will be updated with the personal message encoded as UTF-8. The resulting buffer will be null-terminated on success.

personal_message_buffer_size

The size of the personal message buffer. This should be BBMSP_CONTACT_PERSONAL_MSG_MAX.

Library:

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

Description:

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.