SplashAdRequest class

开屏广告请求参数

Constructors

SplashAdRequest({required String posId, Duration timeout = const Duration(milliseconds: 3500), bool preload = false, SplashAdAndroidOptions? android, SplashAdIOSOptions? ios})
const

Properties

android SplashAdAndroidOptions?
Android 端配置
final
hashCode int
The hash code for this object.
no setterinherited
ios SplashAdIOSOptions?
iOS 端配置
final
底部 LOGO 配置
final
posId String
广告位 ID
final
preload bool
是否仅预加载
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
加载超时时间,默认 3.5 秒
final

Methods

copyWith({String? posId, Duration? timeout, bool? preload, SplashAdAndroidOptions? android, SplashAdIOSOptions? ios}) SplashAdRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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