AdWithViewListener constructor

  1. @protected
const AdWithViewListener({
  1. AdEventCallback? onAdLoaded,
  2. AdLoadErrorCallback? onAdFailedToLoad,
  3. AdEventCallback? onAdOpened,
  4. AdEventCallback? onAdWillDismissScreen,
  5. AdEventCallback? onAdImpression,
  6. AdEventCallback? onAdClosed,
  7. OnPaidEventCallback? onPaidEvent,
  8. AdEventCallback? onAdClicked,
})

Default constructor for AdWithViewListener, meant to be used by subclasses.

Implementation

@protected
const AdWithViewListener({
  this.onAdLoaded,
  this.onAdFailedToLoad,
  this.onAdOpened,
  this.onAdWillDismissScreen,
  this.onAdImpression,
  this.onAdClosed,
  this.onPaidEvent,
  this.onAdClicked,
});