isLoaded method

Future<bool> isLoaded()

Implementation

Future<bool> isLoaded() async {
  try {
    return await BeiziSdk.channel
        .invokeMethod(BeiZiSdkMethodNames.interstitialIsLoaded);
  } on PlatformException catch (e) {
    debugPrint('调用isLoaded失败: ${e.message}');
    return false;
  }
}