GromoreSplashCallback class

开屏广告回调

Inheritance

Constructors

GromoreSplashCallback({GromoreVoidCallback? onAdClicked, GromoreVoidCallback? onAdShow, GromoreVoidCallback? onSplashAdLoadFail, GromoreVoidCallback? onSplashAdLoadSuccess, GromoreVoidCallback? onSplashRenderSuccess, GromoreVoidCallback? onSplashRenderFail, GromoreVoidCallback? onSplashAdClose, GromoreVoidCallback? onAdEnd, GromoreVoidCallback? onAutoClose, GromoreVoidCallback? onAutoSkip})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClicked GromoreVoidCallback?
广告被点击
final
onAdEnd GromoreVoidCallback?
开屏广告结束,这个时候会销毁广告(点击跳过、倒计时结束或渲染错误等 理应隐藏广告 的情况都会触发此回调,建议统一在此回调处理路由跳转等逻辑)
final
onAdShow GromoreVoidCallback?
展示成功
final
onAutoClose GromoreVoidCallback?
触发开屏广告自动关闭(由于存在异常场景,导致广告无法正常展示,但无相关回调)
final
onAutoSkip GromoreVoidCallback?
触发开屏广告自动跳过(由于存在部分场景,导致广告无法跳过)
final
onSplashAdClose GromoreVoidCallback?
关闭
final
onSplashAdLoadFail GromoreVoidCallback?
加载失败
final
onSplashAdLoadSuccess GromoreVoidCallback?
加载成功
final
onSplashRenderFail GromoreVoidCallback?
渲染失败
final
onSplashRenderSuccess 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