navigator_window_cover_attribute_set_allow_badges()

Set whether badges will be allowed on the window cover.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_window_cover_attribute_set_allow_badges(navigator_window_cover_attribute_t *attribute,
                                                              bool is_allowed)

Since:

BlackBerry 10.0.0

Arguments:

attribute

The window cover attribute handle.

is_allowed

True if badges are to be allowed. False if no badges are allowed.

Library:

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

Description:

Choose whether to allow badges on the window cover.

Returns:

On success, BPS_SUCCESS. Otherwise, BPS_FAILURE with errno set, and the attribute will be unchanged.