fullScreenVideoAd static method

  1. @Deprecated("推荐使用新模板渲染插屏 loadFullScreenVideoAdInteraction")
Future<bool> fullScreenVideoAd(
  1. {bool? mIsExpress,
  2. required String androidCodeId,
  3. required String iosCodeId,
  4. bool? supportDeepLink,
  5. int? orientation,
  6. int? downloadType}
)

个性化模板全屏广告

Implementation

@Deprecated("推荐使用新模板渲染插屏 loadFullScreenVideoAdInteraction")
static Future<bool> fullScreenVideoAd({
  bool? mIsExpress,
  required String androidCodeId,
  required String iosCodeId,
  bool? supportDeepLink,
  int? orientation,
  int? downloadType,
}) async {
  return await _channel.invokeMethod("fullScreenVideoAd", {
    "mIsExpress": mIsExpress ?? false,
    "androidCodeId": androidCodeId,
    "iosCodeId": iosCodeId,
    "supportDeepLink": supportDeepLink ?? true,
    "orientation": orientation ?? FlutterUnionadOrientation.VERTICAL,
    "downloadType":
        downloadType ?? FlutterUnionadDownLoadType.DOWNLOAD_TYPE_POPUP,
  });
}