loadAndShowInterAd method
void
loadAndShowInterAd(
{ - AdModuleWithCallBacks? adModuleCallBacks,
})
override
Implementation
@override
void loadAndShowInterAd({AdModuleWithCallBacks? adModuleCallBacks}) {
loadInterAd(
adModuleCallBacks: AdModuleWithCallBacks(
onAdLoaded: () {
if (adModuleCallBacks != null) {
if (adModuleCallBacks.onAdLoaded != null) {
adModuleCallBacks.onAdLoaded!();
}
}
showInterAd();
},
onAdStarted: adModuleCallBacks?.onAdStarted,
onFailed: adModuleCallBacks?.onFailed,
onLoadFailed: adModuleCallBacks?.onLoadFailed,
onRewardSkip: adModuleCallBacks?.onRewardSkip,
onCloseEvent: adModuleCallBacks?.onCloseEvent,
));
}