AdOptions class

广告加载入参参数

Constructors

AdOptions({required String spaceId, String? apiKey, int? adCount, String? s2sImpl, int? timeoutInterval, List<num?>? expressSize, int? splashAdBottomBuilderHeight, SplashBottomWidget? splashBottomWidget, String? userId, String? extra, Map<String, dynamic>? extraDataMap, Map<String, dynamic>? customExtraMap, String? ipAddress, AMPSGMMallRewardConfig? mallReward, String? mallQuery})

Properties

adCount → int?
final
apiKey → String?
final
customExtraMap → Map<String, dynamic>?
final
expressSize → List<num?>?
final
extra → String?
final
extraDataMap → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
ipAddress → String?
final
mallQuery → String?
Android / iOS 自渲染请求的高商词;商城搜索页与单商品均使用此参数。
final
mallReward → AMPSGMMallRewardConfig?
Android / iOS 激励视频或商城频道任务,创建实例时生效。 商城专用参数优先于扩展 Map 中的同名参数。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s2sImpl → String?
final
spaceId → String
final
splashAdBottomBuilderHeight → int?
final
splashBottomWidget → SplashBottomWidget?
final
timeoutInterval → int?
final
userId → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({NativeType? nativeType}) → Map
toString() → String
A string representation of this object.
inherited

Operators

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