SplashAd class

Constructors

SplashAd({required String adSpaceId, required int totalTime, required SplashAdListener listener, String? spaceParam})

Properties

adSpaceId String
final
hashCode int
The hash code for this object.
no setterinherited
listener SplashAdListener
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceParam String?
final
totalTime int
final

Methods

cancel() → void
splashAd.cancel
getCustomExtraData() Future
Android 返回 String?类型 IOS 返回 Map 类型
getCustomExtraJsonData() Future<String?>
getCustomParam() Future<Map<String, dynamic>?>
only support ios
getECPM() Future<int>
单位:人民币(分)
loadAd({required int width, required int height, SplashBottomWidget? splashBottomWidget}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendLossNotificationWithInfo(Map<String, String> lossInfo) Future<void>
注意:必须为有效的字符串格式的键值对!!!!! @param lossInfo 竞败信息 BeiZiBiddingConstant.KEY_WIN_PRICE :竞胜价格 (单位: 分; 整数),必填(value值使用字符串即可) BeiZiBiddingConstant.KEY_ADN_ID :竞胜渠道ID,必填(value值使用BeiZiBiddingConstant.Adn类下的常量字符串即可) BeiZiBiddingConstant.KEY_LOSS_REASON :失败原因,必填(value值使用BeiZiBiddingConstant.LossReason类下的常量字符串即可)
sendWinNotificationWithInfo(Map<String, String> winInfo) Future<void>
注意:必须为有效的字符串格式的键值对!!!!! @param winInfo 竞胜信息 BeiZiBiddingConstant.KEY_WIN_PRICE :竞胜价格 (单位: 分; 整数),必填(value值使用字符串即可) BeiZiBiddingConstant.KEY_ADN_ID :失败渠道中最高价格渠道ID,必填(value值使用BeiZiBiddingConstant.Adn类下的常量字符串即可) BeiZiBiddingConstant.KEY_HIGHEST_LOSS_PRICE :失败渠道中最高价格,必填(value值使用字符串即可)
setBidResponse(String content) → void
setSpaceParam(Map<String, Object> map) → void
showAd() → void
开屏广告显示调用
toString() String
A string representation of this object.
inherited

Operators

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