flutter_unionad_ad library

Constants

adeventEvent → const EventChannel

Functions

bannerAdView({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, required int expressAdNum, int? expressTime, double? expressViewWidth, double? expressViewHeight, dynamic callBack}) Widget
banner广告
drawFeedAdView({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, required double expressViewWidth, required double expressViewHeight, dynamic callBack}) Widget
draw视频广告
fullScreenVideoAd({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, int? orientation}) Future<bool>
个性化模板全屏广告
getSDKVersion() Future<String>
获取SDK版本号
interactionAd({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, required double expressViewWidth, required double expressViewHeight, required int expressNum}) Future<bool>
插屏广告
interactionAdView({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, required double expressViewWidth, required double expressViewHeight, required int expressNum}) Widget
个性化模板插屏广告
loadRewardVideoAd({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, double? expressViewWidth, double? expressViewHeight, required String rewardName, required int rewardAmount, required String userID, int? orientation, String? mediaExtra}) Future<bool>
激励视频广告
nativeAdView({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, required double expressViewWidth, required double expressViewHeight, required int expressNum, dynamic callBack}) Widget
信息流广告
register({required String iosAppId, required String androidAppId, bool? useTextureView, required String appName, bool? allowShowNotify, bool? allowShowPageWhenScreenLock, bool? debug, bool? supportMultiProcess, List<int>? directDownloadNetworkType}) Future<bool>
sdk注册初始化
requestPermissionIfNecessary() Future<int>
请求权限
splashAdView({bool? mIsExpress, required String androidCodeId, required String iosCodeId, bool? supportDeepLink, double? expressViewWidth, double? expressViewHeight, dynamic callBack}) Widget
开屏广告