showInterstitial static method

void showInterstitial(
  1. dynamic interstitialListener(
    1. IPDEvent ret
    )?
)

展示插屏

Implementation

static void showInterstitial(

    /// 展示回调
    Function(IPDEvent ret)? interstitialListener) {
  if (interstitialListener != null) {
    IPDSdkMessageChannel.setInterstitialListener(interstitialListener);
  }
  _sdkMethodChannel.invokeMethod("showInterstitial");
}