正在查看: Uptodown App Store v6.80 应用的 MBRewardVideoActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Uptodown App Store v6.80 应用的 MBRewardVideoActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mbridge.msdk.newreward.player;
import android.os.Bundle;
import android.view.ViewGroup;
import androidx.annotation.Nullable;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.tools.x;
import com.mbridge.msdk.newreward.a.e;
import com.mbridge.msdk.newreward.function.command.d;
import com.mbridge.msdk.newreward.function.command.retention.BridgeParameter;
import com.mbridge.msdk.newreward.player.iview.IMetaData;
import com.mbridge.msdk.newreward.player.presenter.ActivityPresenter;
import com.mbridge.msdk.playercommon.exoplayer2.text.ttml.TtmlNode;
public class MBRewardVideoActivity extends BaseActivity implements IMetaData {
Object data;
ViewGroup viewGroup;
@Override
public void activityReport(String str) {
}
@Override
public Object getDate() {
return this.data;
}
@Override
public ViewGroup getRootViewGroup() {
return this.viewGroup;
}
@Override
protected void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
ViewGroup viewGroup = (ViewGroup) getLayoutInflater().inflate(x.a(getApplicationContext(), "mbridge_activity", TtmlNode.TAG_LAYOUT), (ViewGroup) null);
this.viewGroup = viewGroup;
setContentView(viewGroup);
this.activityPresenter = new ActivityPresenter(this, getIntent().getStringExtra(CampaignEx.JSON_KEY_LOCAL_REQUEST_ID));
}
@Override
public void onShowFail(@BridgeParameter(key = "reason") String str, @BridgeParameter(key = "code") int i) {
try {
e a = d.a().a(getIntent().getStringExtra(CampaignEx.JSON_KEY_LOCAL_REQUEST_ID));
if (a != null && !a.Y()) {
a.j(true);
if (a.K() != null) {
a.K().onShowFail(a.S(), str);
}
}
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
e.printStackTrace();
}
}
finish();
}
@Override
public void setDate(Object obj) {
this.data = obj;
}
@Override
public void activityReport(String str, com.mbridge.msdk.foundation.same.report.d.e eVar) {
}
}