bbads_banner_set_position()

Modify the banner's position on the screen.

Synopsis:

#include <bbads/bbads.h>
 
bbads_error_t bbads_banner_set_position(bbads_banner_t *banner, unsigned int x, unsigned int y)

Since:

BlackBerry 10.0.0

Arguments:

banner

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

x

The x position on the screen of the top-left corner of the banner.

y

The y position on the screen of the top-left corner of the banner.

Library:

libbbads

Description:

This function modifies the position of the banner on the screen.

Returns:

  • BBADS_EOK on success.
  • BBADS_EBANNER if the bbads_banner_t* provided is invalid.