Set a badge on the application's icon and window frame in the navigator.
#include <bps/navigator.h>
BPS_API int navigator_set_badge(navigator_badge_t badge)
BlackBerry 10.0.0
The badge to set.
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.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.