Commit 4dbd973c authored by mengcuiguang2's avatar mengcuiguang2

升級最新版本

parent 6416406f
...@@ -14,6 +14,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD; ...@@ -14,6 +14,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
import com.qq.e.ads.rewardvideo.RewardVideoADListener; import com.qq.e.ads.rewardvideo.RewardVideoADListener;
import com.qq.e.comm.util.AdError; import com.qq.e.comm.util.AdError;
import java.util.Map;
/** /**
* 优量汇视频 * 优量汇视频
*/ */
...@@ -160,10 +162,8 @@ public class YlhVideoAdManager extends BaseVideoAd { ...@@ -160,10 +162,8 @@ public class YlhVideoAdManager extends BaseVideoAd {
} }
@Override @Override
public void onReward() {//激励视频广告激励发放 public void onReward(Map<String, Object> map) {
// if (activity != null) {
// ylhVideoAdPresenter.reportAddCoinMsg(activity, getAdMapVO(carrierType));
// }
} }
@Override @Override
......
...@@ -13,6 +13,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD; ...@@ -13,6 +13,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
import com.qq.e.ads.rewardvideo.RewardVideoADListener; import com.qq.e.ads.rewardvideo.RewardVideoADListener;
import com.qq.e.comm.util.AdError; import com.qq.e.comm.util.AdError;
import java.util.Map;
/** /**
* 中文在线 听读 优量汇广告 * 中文在线 听读 优量汇广告
*/ */
...@@ -53,10 +55,8 @@ public class ReadYlhAd { ...@@ -53,10 +55,8 @@ public class ReadYlhAd {
} }
@Override @Override
public void onReward() {//激励视频广告激励发放 public void onReward(Map<String, Object> map) {
// if (activity != null) {
// ylhVideoAdPresenter.reportAddCoinMsg(activity, getAdMapVO(carrierType));
// }
} }
@Override @Override
......
...@@ -234,6 +234,11 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener { ...@@ -234,6 +234,11 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener {
Log.e(TAG, "onVideoCached") Log.e(TAG, "onVideoCached")
} }
override fun onReward(p0: MutableMap<String, Any>?) {
Log.e(TAG, "onReward")
isPlaySuccess = true
}
override fun onADShow() { override fun onADShow() {
Log.e(TAG, "onADShow") Log.e(TAG, "onADShow")
} }
...@@ -243,11 +248,6 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener { ...@@ -243,11 +248,6 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener {
fragment.setVideoExposeComplete(bean.requestId) fragment.setVideoExposeComplete(bean.requestId)
} }
override fun onReward() {
Log.e(TAG, "onReward")
isPlaySuccess = true
}
override fun onADClick() { override fun onADClick() {
Log.e(TAG, "onADClick") Log.e(TAG, "onADClick")
fragment.setVideoClickComplete(bean.requestId) fragment.setVideoClickComplete(bean.requestId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment