AMPSBannerAd class

开屏广告类

Constructors

AMPSBannerAd({required AdOptions config, BannerCallBack? mCallBack, String? instanceId})

Properties

config ↔ AdOptions
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
instanceId → String
final
mCallBack ↔ BannerCallBack?
getter/setter pair
mCloseCallBack ↔ VoidCallback?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPreLoadAdInfo() → void
调用addPreLoadAdInfo
destroy() → dynamic
销毁视频广告
getECPM() → Future<num>
获取ecpm
getMediaExtraInfo() → Future
调用addPreGetMediaExtraInfo
getSeatId() → Future<String?>
获取胜出渠道的seatId
isReadyAd() → Future<bool>
开屏广告是否有预加载
load() → void
开屏广告加载调用
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preLoad() → void
开屏广预加载
registerChannel(VoidCallback callBack) → void
setAdCloseCallBack(VoidCallback closeCallBack) → void
setMethodCallHandler() → void
setSlideTime(Int time) → void
开屏广告显示调用
toString() → String
A string representation of this object.
inherited

Operators

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