#RewardedVideoAd.onClose(function callback) 监听用户点击关闭广告按钮的事件 #参数 #function callback 用户点击关闭广告按钮的事件的回调函数 #参数 Object res 属性类型说明最低版本 isEndedboolean视频是否是在用户完整观看的情况下被关闭的 #.onError
*/ - (void)rewardVideoAdDidClickSkip:(WindRewardVideoAd *)rewardVideoAd; /** This method is called when video ad is can be motivated */ - (void)rewardVideoAd:(WindRewardVideoAd *)rewardVideoAd reward:(WindRewardInfo *)reward; /** This method is called when video ad is about to clos...
show() 是RewardedVideoAd 对象的方法,返回一个 promise 对象。rewardedVideoAd.show() 示例:let example = { adUnitId: '000000', appSid: '000000' } const rewardedVideoAd = swan.createRewardedVideoAd(example); rewardedVideoAd.show() .then() .catch(err => console.log(err)); rewarded...
RewardedVideoAd.load: 小程序/开发/API/广告/RewardedVideoAd/RewardedVideoAd.load RewardedVideoAd.destroy: 小程序/开发/API/广告/RewardedVideoAd/RewardedVideoAd.destroy RewardedVideoAd.onLoad: 小程序/开发/API/广告/RewardedVideoAd/RewardedVideoAd.onLoad RewardedVideoAd.show#功能描述: 小程序/开发/API/广...
#RewardedVideoAd.destroy() Start from base library version 2.8.0. Please remainingbackward compatible. withPromise stylecall: Not supported Mini Program plugin: Not supported Destroy incentive video advertising examples. The translations are provided by WeChat Translation and are for reference only. In...
openVideoAd: function (a, t, o,k) { var that = this; wx.createRewardedVideoAd ? (wx.showLoading({ title: "视频加载中" }), e && (e.offClose(), e.offError(), e.offLoad()), (e = wx.createRewardedVideoAd({ adUnitId:that.data.jlgg?that.data.jlgg:"adunit-abe90b069e3ed62...
•RewardedVideoAd() 激励视频广告组件。激励视频广告组件是一个原生组件,层级比普通组件高。激励视频广告是一个单例(小游戏端是全局单例,小程序端是页面内单例,在小程序端的单例对象不允许跨页面使用),默认是隐藏的,需要调用 RewardedVideoAd.show() 将其显示。
openVideoAd: function (a, t, o,k) { var that = this; wx.createRewardedVideoAd ? (wx.showLoading({ title: "视频加载中" }), e && (e.offClose(), e.offError(), e.offLoad()), (e = wx.createRewardedVideoAd({ adUnitId:that.data.jlgg?that.data.jlgg:"adunit-abe90b069e3ed62...
#RewardedVideoAdqq.createRewardedVideoAd(Object object) 创建激励视频广告组件。开发者工具 0.1.26 版本开始支持调试广告组件。 #参数 #Object object 属性类型默认值必填说明 adUnitIdstring是广告单元 id #返回值 #RewardedVideoAd 激励视频广告组件 #注意 ...
openVideoAd: function (a, t, o,k) { var that = this; wx.createRewardedVideoAd ? (wx.showLoading({ title: "视频加载中" }), e && (e.offClose(), e.offError(), e.offLoad()), (e = wx.createRewardedVideoAd({ adUnitId:that.data.jlgg?that.data.jlgg:"adunit-abe90b069e3ed62...