GromoreInterstitialConfig class
插屏广告配置
- Inheritance
-
- Object
- GromoreBaseAdConfig
- GromoreInterstitialConfig
Constructors
- GromoreInterstitialConfig({required String adUnitId, GromoreAdSize? size, int? orientation, bool? muted, bool? useSurfaceView = true})
Properties
- adUnitId → String
-
广告id
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
唯一标识
getter/setter pairinherited
- muted → bool?
-
是否静音,默认为true
final
- orientation → int?
-
设置横竖,仅Android可用。竖屏为1,横屏为2。默认竖屏
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → GromoreAdSize?
-
广告尺寸
配置将不会生效,已过时
final
- useSurfaceView → bool?
-
是否使用SurfaceView,默认为true
final
Methods
-
generateId(
) → dynamic -
生成唯一id
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
转换为Map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited