AMPSRewardVideoAd class
Constructors
- AMPSRewardVideoAd({required AdOptions config, RewardVideoCallBack? adCallBack, String? instanceId})
Properties
- adCallBack ↔ RewardVideoCallBack?
-
getter/setter pair
- config ↔ AdOptions
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPreGetMediaExtraInfo(
) → Future - 获取MediaExtraInfo
-
addPreLoadAdInfo(
) → dynamic - 添加预加载广告
-
destroy(
) → dynamic - 销毁视频广告
-
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 - 激励视频广预加载
-
setExtraDataMap(
Map< String, dynamic> ? extraDataMap) → void - 激励服务回调参数,整体覆盖 extraDataMap
-
showAd(
) → void - 激励视频广告显示调用
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited