firebase::admob::NativeExpressAdView::Listener

This is an abstract class.

#include <native_express_ad_view.h>

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

Summary

Constructors and Destructors

~Listener()

Public functions

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

Public functions

OnBoundingBoxChanged

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

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

Details
Parameters
ad_view
The native express ad view whose bounding box changed.
box
The new bounding box.

OnPresentationStateChanged

virtual void OnPresentationStateChanged(
  NativeExpressAdView *ad_view,
  PresentationState state
)=0

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

Details
Parameters
ad_view
The native express ad view whose presentation state changed.
state
The new presentation state.

~Listener

virtual  ~Listener()

Send feedback about...

Need help? Visit our support page.