bbmsp_profile_set_display_picture()

Sets the display picture in the current user's BBM profile.

Synopsis:

#include "bbmsp/bbmsp_userprofile.h"
 
BBMSP_API bbmsp_result_t bbmsp_profile_set_display_picture(bbmsp_profile_t *profile, bbmsp_image_t *display_picture)

Since:

BlackBerry 10.0.0

Arguments:

profile

A pointer to the user's BBM profile.

display_picture

A pointer to the display picture.

Library:

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

Description:

The display picture change only affects the profile data structure passed in.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.