bbmsp_set_user_profile_display_picture()

Send a request to set the user's BBM display picture.

Synopsis:

#include "bbmsp/bbmsp_userprofile.h"
 
BBMSP_API bbmsp_result_t bbmsp_set_user_profile_display_picture(bbmsp_image_t *image)

Since:

BlackBerry 10.0.0

Arguments:

image

A pointer to the display picture.

Library:

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

Description:

A dialog displays to allow the user to accept or reject the change to the user's BBM display picture. The display picture is limited to 32kB of data; an attempt to set a display picture that exceeds this limit will fail and will not display the dialog.

Returns:

BBMSP_ASYNC if successful in sending the request, BBMSP_FAILURE otherwise.