firebase::admob::InterstitialAd::Listener

This is an abstract class.

#include <interstitial_ad.h>

A listener class that developers can extend and pass to an InterstitialAd object's SetListener method to be notified of presentation state changes.

Summary

This is useful for changes caused by user interaction, such as when the user closes an interstitial.

Constructors and Destructors

~Listener()

Public functions

OnPresentationStateChanged(InterstitialAd *interstitial_ad, PresentationState state)=0
virtual void
This method is called when the InterstitialAd object's presentation state changes.

Public functions

OnPresentationStateChanged

virtual void OnPresentationStateChanged(
  InterstitialAd *interstitial_ad,
  PresentationState state
)=0

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

Details
Parameters
interstitial_ad
The interstitial ad whose presentation state changed.
state
The new presentation state.

~Listener

virtual  ~Listener()

Send feedback about...

Need help? Visit our support page.