Commit 4dbd973c authored by mengcuiguang2's avatar mengcuiguang2

升級最新版本

parent 6416406f
......@@ -14,6 +14,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
import com.qq.e.ads.rewardvideo.RewardVideoADListener;
import com.qq.e.comm.util.AdError;
import java.util.Map;
/**
* 优量汇视频
*/
......@@ -160,10 +162,8 @@ public class YlhVideoAdManager extends BaseVideoAd {
}
@Override
public void onReward() {//激励视频广告激励发放
// if (activity != null) {
// ylhVideoAdPresenter.reportAddCoinMsg(activity, getAdMapVO(carrierType));
// }
public void onReward(Map<String, Object> map) {
}
@Override
......
......@@ -13,6 +13,8 @@ import com.qq.e.ads.rewardvideo.RewardVideoAD;
import com.qq.e.ads.rewardvideo.RewardVideoADListener;
import com.qq.e.comm.util.AdError;
import java.util.Map;
/**
* 中文在线 听读 优量汇广告
*/
......@@ -53,10 +55,8 @@ public class ReadYlhAd {
}
@Override
public void onReward() {//激励视频广告激励发放
// if (activity != null) {
// ylhVideoAdPresenter.reportAddCoinMsg(activity, getAdMapVO(carrierType));
// }
public void onReward(Map<String, Object> map) {
}
@Override
......
......@@ -234,6 +234,11 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener {
Log.e(TAG, "onVideoCached")
}
override fun onReward(p0: MutableMap<String, Any>?) {
Log.e(TAG, "onReward")
isPlaySuccess = true
}
override fun onADShow() {
Log.e(TAG, "onADShow")
}
......@@ -243,11 +248,6 @@ class XiaomanActivity : BaseActivity(), View.OnClickListener {
fragment.setVideoExposeComplete(bean.requestId)
}
override fun onReward() {
Log.e(TAG, "onReward")
isPlaySuccess = true
}
override fun onADClick() {
Log.e(TAG, "onADClick")
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