GromoreRewardConfig class

激励广告配置

Inheritance

Constructors

GromoreRewardConfig({required String adUnitId, int? orientation, bool? muted, double? volume, 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?
播放方向。竖屏:1,横屏:2。默认为竖屏。仅Android端有效
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useSurfaceView bool?
是否使用SurfaceView,默认为true
final
volume double?
音量,默认为0
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