navigator_clear_badge()

Clears a badge from the application's icon and window frame in the navigator.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_clear_badge()

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

The navigator_clear_badge() function sends a navigator removeBadge request to remove a badge from the application's icon and window frame in the navigator. (see navigator_set_badge())

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.