ZjsdkMessageChannel class

Constructors

ZjsdkMessageChannel.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBanner(IosZjEvent event) → void
横幅广告事件回调
onContentAd(IosZjEvent event) → void
视频内容回调
onDrawAd(IosZjEvent event) → void
视频流事件回调
onH5Page(IosZjEvent event) → void
H5页面回调
onInit(IosZjEvent event) → void
初始化回调
onInterstitial(IosZjEvent event) → void
插全屏回调
onNativeExpress(IosZjEvent event) → void
信息流事件回调
onNewsAd(IosZjEvent event) → void
新闻资讯回调
onRewardVideo(IosZjEvent event) → void
激励视频回调
onSplash(IosZjEvent event) → void
开屏事件回调
onTubeAd(IosZjEvent event) → void
短剧页面回调
toString() String
A string representation of this object.
inherited
tryDestroyListener(IosZjEvent event, dynamic listener) → void
销毁回调对象

Operators

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

Static Methods

addBannerListener(int id, dynamic bannerListener(IosZjEvent ret)?) → void
添加横幅广告回调
addDrawAdListener(int id, dynamic drawAdListener(IosZjEvent ret)?) → void
添加视频流广告回调
addNativeExpressListener(int id, dynamic nativeExpressListener(IosZjEvent ret)?) → void
添加信息流广告回调
init(dynamic initListener(IosZjEvent ret)?) → void
配置初始化回调 onInitSuccess 初始化成功的回调 onInitFailed 初始化失败的回调
setContentAdListener(dynamic contentAdListener(IosZjEvent ret)?) → void
配置视频内容回调
setH5PageListener(dynamic h5PageListener(IosZjEvent ret)?) → void
配置H5页面回调
setInterstitialListener(dynamic interstitialListener(IosZjEvent ret)?) → void
配置插全屏回调
setNewsAdListener(dynamic newsAdListener(IosZjEvent ret)?) → void
配置新闻资讯回调
setRewardVideoListener(dynamic rewardVideoListener(IosZjEvent ret)?) → void
配置激励视频回调
setSplashListener(dynamic splashListener(IosZjEvent ret)?) → void
配置开屏回调
setTubeAdListener(dynamic tubeAdListener(IosZjEvent ret)?) → void
配置短剧回调