AdListener constructor
const
AdListener({
- void onAdLoaded(
- Ad ad
- void onAdFailedToLoad(
- Ad ad,
- LoadAdError error
- void onNativeAdClicked(
- NativeAd ad
- void onNativeAdImpression(
- NativeAd ad
- void onAdOpened(
- Ad ad
- void onApplicationExit(
- Ad ad
- void onAdClosed(
- Ad ad
- void onRewardedAdUserEarnedReward(
- RewardedAd ad,
- RewardItem reward
- void onAppEvent()?,
Default constructor for AdListener.
Implementation
const AdListener({
this.onAdLoaded,
this.onAdFailedToLoad,
this.onNativeAdClicked,
this.onNativeAdImpression,
this.onAdOpened,
this.onApplicationExit,
this.onAdClosed,
this.onRewardedAdUserEarnedReward,
this.onAppEvent,
});