flutter_unionad library

Constants

adeventEvent → const EventChannel
adType → const String
数据类型
authorized → const int
denied → const int
fullVideoAd → const String
fullVideoType → const String
全屏视频广告广告
NETWORK_STATE_2G → const int
NETWORK_STATE_3G → const int
NETWORK_STATE_4G → const int
NETWORK_STATE_MOBILE → const int
描述: @author guozi @e-mail gstory0404@gmail.com @time 2020/3/11 网络类型
NETWORK_STATE_WIFI → const int
notDetermined → const int
权限请求结果
onAdClose → const String
onAdShow → const String
onAdVideoBarClick → const String
onAplashClick → const String
onAplashFinish → const String
onAplashSkip → const String
onAplashTimeout → const String
开屏广告
onDislike → const String
onFail → const String
onShow → const String
广告加载状态 view使用
onSkippedVideo → const String
onVideoComplete → const String
restricted → const int
rewardAd → const String
rewardAmount → const String
rewardName → const String
rewardVerify → const String
激励广告相关
VideoHORIZONTAL → const int
VideoVERTICAL → const int
激励视频方向

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
开屏广告