ScreenAdContentCallback constructor

const ScreenAdContentCallback({
  1. void onAdLoaded(
    1. AdContentInfo ad
    )?,
  2. void onAdFailedToLoad(
    1. AdFormat format,
    2. AdError error
    )?,
  3. void onAdShowed(
    1. AdContentInfo ad
    )?,
  4. void onAdFailedToShow(
    1. AdFormat format,
    2. AdError error
    )?,
  5. void onAdClicked(
    1. AdContentInfo ad
    )?,
  6. void onAdDismissed(
    1. AdContentInfo ad
    )?,
})

Construct a new ScreenAdContentCallback.

Implementation

const ScreenAdContentCallback(
    {this.onAdLoaded,
    this.onAdFailedToLoad,
    this.onAdShowed,
    this.onAdFailedToShow,
    this.onAdClicked,
    this.onAdDismissed});