navigator_set_badge()

Set a badge on the application's icon and window frame in the navigator.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_set_badge(navigator_badge_t badge)

Since:

BlackBerry 10.0.0

Arguments:

badge

The badge to set.

Library:

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

Description:

The navigator_set_badge() function sends a navigator addBadge request to place a badge on the application's icon and window frame in the navigator.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.