loadAndShowInterAd method
void
loadAndShowInterAd(
{ - 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,
),
);
}