bbmsp_profile_get_personal_message()

Retrieve the user's BBM personal message.

Synopsis:

#include "bbmsp/bbmsp_userprofile.h"
 
BBMSP_API bbmsp_result_t bbmsp_profile_get_personal_message(bbmsp_profile_t *profile, char *personal_message, size_t buffer_size)

Since:

BlackBerry 10.0.0

Arguments:

profile

A pointer to the user's BBM profile.

personal_message

An updated pointer to the array that contains the user's personal message, encoded as UTF-8.

buffer_size

The size of the personal_message buffer array.

Library:

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

Description:

A personal message is limited to 160 characters; anything longer is truncated.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.