loadAndShowInterAd method

  1. @override
void loadAndShowInterAd({
  1. AdModuleWithCallBacks? adModuleCallBacks,
})
override

Implementation

@override
void loadAndShowInterAd({AdModuleWithCallBacks? adModuleCallBacks}) {
  loadInterAd(
    adModuleCallBacks: AdModuleWithCallBacks(
      onAdLoaded: () {
        showInterAd(
          adModuleCallBacks: adModuleCallBacks,
        );
      },
      onCloseEvent: adModuleCallBacks?.onCloseEvent,
      onAdStarted: adModuleCallBacks?.onAdStarted,
      onFailed: adModuleCallBacks?.onFailed,
      onLoadFailed: adModuleCallBacks?.onLoadFailed,
      onRewardSkip: adModuleCallBacks?.onRewardSkip,
    ),
  );
}