AdManager class

Constructors

AdManager()
工厂构造函数
factory

Properties

adInterface ADInterface
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(ADInterface adInterface, ConvertTagToUnitIdCallback convertTagToUnitId, {Map<AdType, List<String>>? preloadAds}) Future
初始化 adInterface广告SDK实现 convertTagToUnitId将tag转为对应广告SDK的广告单元的方法 preloadAds需要预加载的广告
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserId(String uid) Future
showAd(String tag, AdType adType) Future<AdResponse>
toString() String
A string representation of this object.
inherited

Operators

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