Stay organized with collections
Save and categorize content based on your preferences.
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
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()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[[["`firebase::gma::AdViewBoundingBoxListener` is an abstract class that listens for changes in an AdView's bounding box."],["Developers can extend this class and pass it to an AdView to be notified about bounding box size changes."],["The `OnBoundingBoxChanged` function is called when the AdView's bounding box is modified, providing the updated box dimensions."],["This listener is crucial for adapting to dynamic AdView placements and ensuring proper layout within your application."]]],[]]