bbmsp_profile_set_status()

Set the status and status message in the current user's BBM profile.

Synopsis:

#include "bbmsp/bbmsp_userprofile.h"
 
BBMSP_API bbmsp_result_t bbmsp_profile_set_status(bbmsp_profile_t *profile, bbmsp_presence_status_t status, const char *custom_status_message)

Since:

BlackBerry 10.0.0

Arguments:

profile

A pointer to the user's BBM profile.

status

The user's BBM status.

custom_status_message

A pointer to the custom status message array.

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.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.