GromoreRewardCallback class

Inheritance

Constructors

GromoreRewardCallback({GromoreVoidCallback? onAdShow, GromoreVoidCallback? onAdVideoBarClick, GromoreVoidCallback? onAdClose, GromoreVoidCallback? onVideoComplete, GromoreVoidCallback? onVideoError, void onRewardVerify(bool verified)?, GromoreVoidCallback? onSkippedVideo})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClose GromoreVoidCallback?
广告关闭的回调
final
onAdShow GromoreVoidCallback?
广告的展示回调
final
onAdVideoBarClick GromoreVoidCallback?
广告的下载bar点击回调,非所有广告商的广告都会触发
final
onRewardVerify → (void Function(bool verified)?)
激励视频播放完毕,验证是否有效发放奖励的回调
final
onSkippedVideo GromoreVoidCallback?
跳过视频播放
final
onVideoComplete GromoreVoidCallback?
视频播放完毕的回调,非所有广告商的广告都会触发
final
onVideoError GromoreVoidCallback?
视频播放失败的回调
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

exec(String callbackName, [dynamic arguments]) → void
针对不同回调事件的处理
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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