bbads_event_get_banner()

Extract the associated banner from an event.

Synopsis:

#include <bbads/event.h>
 
bbads_error_t bbads_event_get_banner(bps_event_t *event, bbads_banner_t **banner)

Since:

BlackBerry 10.0.0

Arguments:

event

The bps_event_t* to extract the data from.

banner

A pointer to the bbads_banner_t* that will be set to the value extracted from the bps_event_t*.

Library:

libbbads

Description:

This function extracts the associated banner from an event.

Returns:

  • BBADS_EOK on success. This return value indicates that the extracted value was set.
  • BBADS_EINVAL if event is a null pointer or otherwise an invalid event.