bbads_banner_set_window_visible()

Set the window visibility of the banner to true.

Synopsis:

#include <bbads/bbads.h>
 
bbads_error_t bbads_banner_set_window_visible(bbads_banner_t *banner)

Since:

BlackBerry 10.0.0

Arguments:

banner

The bbads_banner_t* as created in the call to bbads_banner_create().

Library:

libbbads

Description:

This function is a toggle that sets the window visibility of the banner to true, and is always called from the calling application. The default value is false, so it must be set to true in order for ad banners to display.

Returns:

  • BBADS_EOK on success.
  • BBADS_EBANNER if the bbads_banner_t* provided is invalid.
  • BBADS_ESTATE if there's no active registration for event delivery for this banner. To register a banner for asynchronous events, see bbads_banner_request_events().