BannerAdEventDelegate constructor

BannerAdEventDelegate({
  1. void onBannerAdLoaded(
    1. BannerAdLoadedEvent
    )?,
  2. void onBannerAdLoadedError(
    1. BannerAdLoadedErrorEvent
    )?,
  3. void onNativeBannerAdLoaded(
    1. NativeBannerAdLoadedEvent
    )?,
  4. void onNativeBannerAdLoadedError(
    1. NativeBannerAdLoadedErrorEvent
    )?,
})

A delegate for handling events related to a banner ad.

This delegate provides callbacks for various events that can occur during the lifecycle of a banner ad, such as when the ad is loaded, when an error occurs, or when the ad is clicked.

Implementation

BannerAdEventDelegate({
  this.onBannerAdLoaded,
  this.onBannerAdLoadedError,
  this.onNativeBannerAdLoaded,
  this.onNativeBannerAdLoadedError,
});