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)

Arguments:

attribute

The window cover attribute handle.

is_allowed

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

Library:

libbps

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.