showInterstitial static method

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

展示插全屏

Implementation

static void showInterstitial(

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