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