firebase::admob::BannerView::Listener

This is an abstract class.

#include <banner_view.h>

A listener class that developers can extend and pass to a BannerView object's SetListener method to be notified of changes to the presentation state and bounding box.

Summary

Constructors and Destructors

~Listener()

Public functions

OnBoundingBoxChanged(BannerView *banner_view, BoundingBox box)=0
virtual void
This method is called when the BannerView object's bounding box changes.
OnPresentationStateChanged(BannerView *banner_view, PresentationState state)=0
virtual void
This method is called when the BannerView object's presentation state changes.

Public functions

OnBoundingBoxChanged

virtual void OnBoundingBoxChanged(
  BannerView *banner_view,
  BoundingBox box
)=0

This method is called when the BannerView object's bounding box changes.

Details
Parameters
banner_view
The banner view whose bounding box changed.
box
The new bounding box.

OnPresentationStateChanged

virtual void OnPresentationStateChanged(
  BannerView *banner_view,
  PresentationState state
)=0

This method is called when the BannerView object's presentation state changes.

Details
Parameters
banner_view
The banner view whose presentation state changed.
state
The new presentation state.

~Listener

virtual  ~Listener()

Send feedback about...

Need help? Visit our support page.