loadFullScreenVideoAdInteraction static method
预加载新模板渲染插屏
分为全屏和插屏,全屏和插屏场景下开发者都可以选择投放的广告类型,分别为图片+视频、仅视频、仅图片。
Implementation
static Future<bool> loadFullScreenVideoAdInteraction({
required String androidCodeId,
required String iosCodeId,
bool? supportDeepLink,
int? orientation,
int? downloadType,
int? adLoadType,
}) async {
return await _channel.invokeMethod("loadFullScreenVideoAdInteraction", {
"androidCodeId": androidCodeId,
"iosCodeId": iosCodeId,
"supportDeepLink": supportDeepLink ?? true,
"orientation": orientation ?? FlutterUnionadOrientation.VERTICAL,
"downloadType":
downloadType ?? FlutterUnionadDownLoadType.DOWNLOAD_TYPE_POPUP,
"adLoadType": adLoadType ?? FlutterUnionadLoadType.PRELOAD
});
}