AMPSSplashAd class
开屏广告类
Constructors
- AMPSSplashAd({required AdOptions config, AdCallBack? mCallBack, String? instanceId})
Properties
- config ↔ AdOptions
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceId → String
-
实例唯一标识,与原生 AMPSSplashInstanceKey.splashInstanceId 对应。
final
- mCallBack ↔ AdCallBack?
-
getter/setter pair
- mCloseCallBack ↔ VoidCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPreGetMediaExtraInfo(
) → Future - 调用addPreGetMediaExtraInfo
-
addPreLoadAdInfo(
) → void - 调用addPreLoadAdInfo
-
destroy(
) → Future -
getECPM(
) → Future< num> - 获取ecpm
-
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 -
showAd(
) → void - 开屏广告显示调用
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited