Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

firebase::gma::AdViewBoundingBoxListener

This is an abstract class.

#include <ad_view.h>

A listener class that developers can extend and pass to an AdView object's AdView::SetBoundingBoxListener method to be notified of changes to the size of the Ad's bounding box.

Summary

Constructors and Destructors

~AdViewBoundingBoxListener()

Public functions

OnBoundingBoxChanged(AdView *ad_view, BoundingBox box)=0
virtual void
This method is called when the AdView object's bounding box changes.

Public functions

OnBoundingBoxChanged

virtual void OnBoundingBoxChanged(
  AdView *ad_view,
  BoundingBox box
)=0

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

Details
Parameters
ad_view
The view whose bounding box changed.
box
The new bounding box.

~AdViewBoundingBoxListener

virtual  ~AdViewBoundingBoxListener()