FlutterPangolinUnionad class

Constructors

FlutterPangolinUnionad()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

platformVersion Future<String?>
no setter

Static Methods

bannerAdView({required String iosAppId, required String androidAppId, bool? mIsExpress, bool? supportDeepLink, required double? expressWidth, required double? expressHeight, required int expressAdNum, int? expressTime, FlutterPangolinUnionadBannerCallBack? callBack}) Widget
banner广告
drawFeedAdView({required String iosAppId, required String androidAppId, bool? mIsExpress, bool? supportDeepLink, required double expressWidth, required double expressHeight, FlutterPangolinUnionadDrawFeedCallBack? callBack}) Widget
draw视频广告
loadRewardVideoAd({required String iosAppId, required String androidAppId, bool? mIsExpress, bool? supportDeepLink, double? expressWidth, double? expressHeight, required String rewardName, required int rewardAmount, required String userID, int? orientation, String? mediaExtra}) Future<bool>
激励视频广告预加载
loadSplashViewAd({required String iosAppId, required String androidAppId, bool? mIsExpress, bool? supportDeepLink, double? expressWidth, double? expressHeight, FlutterPangolinUnionadSplashCallBack? callBack}) Widget
开屏广告
nativeViewAd({required String iosAppId, required String androidAppId, bool? mIsExpress, bool? supportDeepLink, required double expressWidth, required double expressHeight, required int expressNum, FlutterPangolinUnionadNativeCallBack? callBack}) Widget
信息流广告
preloadNewInteractionVideoAd({required String iosAppId, required String androidAppId, bool? supportDeepLink, int? orientation}) Future<bool>
预加载新模板渲染插屏 ,全屏插屏取决于appID类型,自动识别 分为全屏和插屏,全屏和插屏场景下开发者都可以选择投放的广告类型,分别为图片+视频、仅视频、仅图片。
registerPlugin({required String iosAppId, required String androidAppId, bool? useTextureView, required String appName, bool? allowShowNotify, bool? allowShowPageWhenScreenLock, bool? debug, bool? supportMultiProcess, List<int>? directDownloadNetworkType}) Future<bool>
注册初始化插件
requestPermissionIfNecessary({FlutterPangolinUnionadPermissionCallBack? callback}) Future<void>
针对iOS14及以上获取ATT权限,根据返回结果具体操作业务逻辑 获取权限
sdkVersion() Future<String>
获取穿山甲SDK版本
showNewInteractionVideoAd() Future<bool>
显示新模板渲染插屏 分为全屏和插屏,全屏和插屏场景下开发者都可以选择投放的广告类型,分别为图片+视频、仅视频、仅图片。
showRewardVideoAd() Future<bool>