bbmsp_user_profile_box_add_item_no_icon()

Add an item to a user's profile box (no icon)

Synopsis:

#include "bbmsp/bbmsp_user_profile_box.h"
 
BBMSP_API bbmsp_result_t bbmsp_user_profile_box_add_item_no_icon(const char *text, const char *cookie)

Since:

BlackBerry 10.0.0

Arguments:

text

A pointer to the buffer that contains the item text.

cookie

A pointer to the buffer that contains the item cookie.

Library:

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

Description:

Add an item to a user's profile box with only text and a customizable string (cookie). text and cookie must be null-terminated C-strings, encoded as UTF-8. The item text must not be null or empty. It can have a maximum of 100 characters with no more than 2 new line characters. The cookie can be null, with a maximum of 129 characters. If bbmsp_can_show_profile_box() returns false, this method will return BBMSP_FAILURE.

Returns:

BBMSP_ASYNC if successful, BBMSP_FAILURE if the application does not have access to the BBMSP platform, or if a parameter is invalid.