createInterstitial abstract method

Future<int> createInterstitial({
  1. required String configurationId,
  2. R89VoidCallback? afterInterstitial,
  3. InterstitialEventListener? lifecycleCallbacks,
})

Creates and displays an Interstitial ad on top of flutter's host screen. You can also configure what to do after the Interstitial in afterInterstitial.

configurationId ID used to fetch the unit configuration. afterInterstitial This is called after the ad fails to show or the user closes the fullscreen. lifecycleCallbacks Go to InterstitialEventListener to know when the callbacks are called.

Implementation

Future<int> createInterstitial(
    {required String configurationId,
    R89VoidCallback? afterInterstitial,
    InterstitialEventListener? lifecycleCallbacks});