performShow method

  1. @override
Future<void> performShow(
  1. InterstitialAd ad, {
  2. AdOptions? options,
  3. AdCallBack? adCallBack,
})
override

Implementation

@override
Future<void> performShow(InterstitialAd ad, {AdOptions? options, AdCallBack? adCallBack}) async {
  ad.onPaidEvent = notifyAdRevenue;
  ad.fullScreenContentCallback = getCallback(
    adCallBack,
    onAdDismissedFullScreenContent: (ad) {
      ad.dispose();
      adCallBack?.onAdDismissed?.call(adsType, isEarnedReward: true);
    },
  );
  ad.show();
}