Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,288 @@
package com.mbridge.msdk.newinterstitial.out;
import android.content.Context;
import android.text.TextUtils;
import com.mbridge.msdk.foundation.controller.c;
import com.mbridge.msdk.foundation.same.b;
import com.mbridge.msdk.foundation.tools.ad;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.newreward.b.d;
import com.mbridge.msdk.newreward.function.common.MBridgeGlobalCommon;
import com.mbridge.msdk.out.BaseExtraInterfaceForHandler;
import com.mbridge.msdk.reward.b.a;
import org.json.JSONObject;
@Deprecated
/* loaded from: classes4.dex */
public class MBBidInterstitialVideoHandler implements BaseExtraInterfaceForHandler {
private String a;
private String b;
private String c;
private String d;
private String e;
private a f;
private d g;
private NewInterstitialListener i;
public String mUnitId;
private int o;
private int p;
private int q;
private boolean h = false;
private int j = 2;
private boolean k = false;
private boolean l = false;
private boolean m = false;
private boolean n = false;
public void setAlertDialogText(String str, String str2, String str3, String str4) {
this.c = str;
this.b = str2;
this.d = str3;
this.e = str4;
this.n = true;
this.m = true;
}
public void setInterstitialVideoListener(NewInterstitialListener newInterstitialListener) {
this.i = newInterstitialListener;
this.k = true;
this.l = true;
}
@Deprecated
public void setRewardVideoListener(NewInterstitialListener newInterstitialListener) {
this.i = newInterstitialListener;
this.k = true;
this.l = true;
}
public MBBidInterstitialVideoHandler(Context context, String str, String str2) {
if (c.m().c() == null && context != null) {
c.m().b(context);
}
String e = ak.e(str2);
if (!TextUtils.isEmpty(e)) {
ak.b(str2, e);
}
this.mUnitId = str2;
this.a = str;
}
public MBBidInterstitialVideoHandler(String str, String str2) {
this.mUnitId = str2;
this.a = str;
}
private void a(String str, String str2) {
try {
if (this.f == null) {
a aVar = new a();
this.f = aVar;
aVar.a(true);
this.f.b(true);
this.f.b(str, str2);
}
} catch (Throwable th) {
af.b("MBBidInterstitialVideoHandler", th.getMessage(), th);
}
}
private void b(String str, String str2) {
if (this.g == null) {
if (TextUtils.isEmpty(str)) {
str = "";
}
if (TextUtils.isEmpty(str2)) {
str2 = "";
}
this.g = new d(287, str, str2, true);
}
}
public void loadFromBid(String str) {
boolean a = b.a().a("new_bridge_reward_video");
this.h = a;
if (a) {
c();
d dVar = this.g;
if (dVar != null) {
dVar.a(true, str);
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(true, str, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.mUnitId, true, 2));
}
}
private void a() {
if (this.f == null) {
a(this.a, this.mUnitId);
}
b();
}
private void b() {
if (this.l) {
a aVar = this.f;
if (aVar != null) {
aVar.a(new com.mbridge.msdk.newinterstitial.a.a(this.i));
}
this.l = false;
}
if (this.m) {
a aVar2 = this.f;
if (aVar2 != null) {
aVar2.a(this.c, this.b, this.d, this.e);
}
this.m = false;
}
a aVar3 = this.f;
if (aVar3 != null) {
aVar3.a(this.o, this.q, this.p);
this.f.a(this.j);
}
}
private void c() {
if (this.g == null) {
b(this.a, this.mUnitId);
}
d();
}
private void d() {
if (this.k) {
d dVar = this.g;
if (dVar != null) {
dVar.a(new NewInterstitialListenerWrapper(this.i));
}
this.k = false;
}
if (this.n) {
MBridgeGlobalCommon.setAlertDialogText(this.mUnitId, this.c, this.b, this.d, this.e);
this.n = false;
}
d dVar2 = this.g;
if (dVar2 != null) {
dVar2.a(this.o, this.q, this.p);
this.g.a(this.j);
}
}
public void loadFormSelfFilling() {
boolean a = b.a().a("new_bridge_reward_video");
this.h = a;
if (a) {
c();
d dVar = this.g;
if (dVar != null) {
dVar.a(false, "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(false, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.mUnitId, true, 1));
}
}
public boolean isBidReady() {
if (this.h) {
d dVar = this.g;
if (dVar != null) {
return dVar.a(true);
}
return false;
}
a aVar = this.f;
if (aVar != null) {
return aVar.d(true);
}
return false;
}
public String getRequestId() {
if (this.h) {
d dVar = this.g;
return dVar != null ? dVar.b() : "";
}
a aVar = this.f;
return aVar != null ? aVar.a() : "";
}
public String getCreativeIdWithUnitId() {
if (this.h) {
d dVar = this.g;
return dVar != null ? dVar.c() : "";
}
a aVar = this.f;
return aVar != null ? aVar.d() : "";
}
public void showFromBid() {
if (this.h) {
c();
d dVar = this.g;
if (dVar != null) {
dVar.a("", "", "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a((String) null, (String) null, (String) null, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.mUnitId, false, -1));
}
}
public void playVideoMute(int i) {
this.j = i;
if (this.h) {
d dVar = this.g;
if (dVar != null) {
dVar.a(i);
return;
}
return;
}
a aVar = this.f;
if (aVar != null) {
aVar.a(i);
}
}
public void setIVRewardEnable(int i, int i2) {
this.o = i;
this.p = i2;
this.q = com.mbridge.msdk.foundation.same.a.K;
}
public void setIVRewardEnable(int i, double d) {
this.o = i;
this.p = (int) (d * 100.0d);
this.q = com.mbridge.msdk.foundation.same.a.J;
}
@Override // com.mbridge.msdk.out.BaseExtraInterfaceForHandler
public void setExtraInfo(JSONObject jSONObject) {
c.m().a(this.mUnitId, jSONObject);
}
public void clearVideoCache() {
if (this.h) {
return;
}
try {
if (this.f != null) {
ad.b();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}

View File

@@ -0,0 +1,279 @@
package com.mbridge.msdk.newinterstitial.out;
import android.content.Context;
import android.text.TextUtils;
import com.mbridge.msdk.foundation.controller.c;
import com.mbridge.msdk.foundation.same.b;
import com.mbridge.msdk.foundation.tools.ad;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.newreward.b.d;
import com.mbridge.msdk.newreward.function.common.MBridgeGlobalCommon;
import com.mbridge.msdk.out.BaseExtraInterfaceForHandler;
import com.mbridge.msdk.reward.b.a;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class MBBidNewInterstitialHandler implements BaseExtraInterfaceForHandler {
private final String a;
private String b;
private String c;
private String d;
private String e;
private a f;
private String g;
private d h;
private NewInterstitialListener j;
private int p;
private int q;
private int r;
private boolean i = false;
private int k = 2;
private boolean l = false;
private boolean m = false;
private boolean n = false;
private boolean o = false;
public void setAlertDialogText(String str, String str2, String str3, String str4) {
this.c = str;
this.b = str2;
this.d = str3;
this.e = str4;
this.n = true;
this.o = true;
}
public void setInterstitialVideoListener(NewInterstitialListener newInterstitialListener) {
this.j = newInterstitialListener;
this.l = true;
this.m = true;
}
@Deprecated
public void setRewardVideoListener(NewInterstitialListener newInterstitialListener) {
this.j = newInterstitialListener;
this.l = true;
this.m = true;
}
public MBBidNewInterstitialHandler(Context context, String str, String str2) {
if (c.m().c() == null && context != null) {
c.m().b(context);
}
String e = ak.e(str2);
if (!TextUtils.isEmpty(e)) {
ak.b(str2, e);
}
this.a = str;
this.g = str2;
}
public MBBidNewInterstitialHandler(String str, String str2) {
this.a = str;
this.g = str2;
}
private void a(String str, String str2) {
try {
if (this.f == null) {
a aVar = new a();
this.f = aVar;
aVar.a(true);
this.f.b(true);
this.f.b(str, str2);
}
} catch (Throwable th) {
af.b("MBBidNewInterstitialHandler", th.getMessage(), th);
}
}
private void b(String str, String str2) {
if (this.h == null) {
if (TextUtils.isEmpty(str)) {
str = "";
}
if (TextUtils.isEmpty(str2)) {
str2 = "";
}
this.h = new d(287, str, str2, true);
}
}
public void loadFromBid(String str) {
boolean a = b.a().a("new_bridge_reward_video");
this.i = a;
if (a) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a(true, str);
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(true, str, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.g, true, 2));
}
}
private void a() {
if (this.f == null) {
a(this.a, this.g);
}
if (this.m) {
a aVar = this.f;
if (aVar != null) {
aVar.a(new com.mbridge.msdk.newinterstitial.a.a(this.j, this.g, true));
}
this.m = false;
}
if (this.n) {
a aVar2 = this.f;
if (aVar2 != null) {
aVar2.a(this.c, this.b, this.d, this.e);
}
this.n = false;
}
a aVar3 = this.f;
if (aVar3 != null) {
aVar3.a(this.k);
this.f.a(this.p, this.r, this.q);
}
}
private void b() {
if (this.h == null) {
b(this.a, this.g);
}
if (this.l) {
d dVar = this.h;
if (dVar != null) {
dVar.a(new NewInterstitialListenerWrapper(this.j));
}
this.l = false;
}
if (this.o) {
MBridgeGlobalCommon.setAlertDialogText(this.g, this.c, this.b, this.d, this.e);
this.o = false;
}
d dVar2 = this.h;
if (dVar2 != null) {
dVar2.a(this.k);
this.h.a(this.p, this.r, this.q);
}
}
public void loadFormSelfFilling() {
boolean a = b.a().a("new_bridge_reward_video");
this.i = a;
if (a) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a(false, "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(false, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.g, true, 1));
}
}
public boolean isBidReady() {
if (this.i) {
d dVar = this.h;
if (dVar != null) {
return dVar.a(true);
}
return false;
}
a aVar = this.f;
if (aVar != null) {
return aVar.d(true);
}
return false;
}
public String getRequestId() {
if (this.i) {
d dVar = this.h;
return dVar != null ? dVar.b() : "";
}
a aVar = this.f;
return aVar != null ? aVar.a() : "";
}
public String getCreativeIdWithUnitId() {
if (this.i) {
d dVar = this.h;
return dVar != null ? dVar.c() : "";
}
a aVar = this.f;
return aVar != null ? aVar.d() : "";
}
public void showFromBid() {
if (this.i) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a("", "", "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a((String) null, (String) null, (String) null, com.mbridge.msdk.foundation.same.report.d.d.a().a(1, 287, this.g, false, -1));
}
}
public void playVideoMute(int i) {
this.k = i;
if (this.i) {
d dVar = this.h;
if (dVar != null) {
dVar.a(i);
return;
}
return;
}
a aVar = this.f;
if (aVar != null) {
aVar.a(i);
}
}
public void setIVRewardEnable(int i, int i2) {
this.p = i;
this.q = i2;
this.r = com.mbridge.msdk.foundation.same.a.K;
}
public void setIVRewardEnable(int i, double d) {
this.p = i;
this.q = (int) (d * 100.0d);
this.r = com.mbridge.msdk.foundation.same.a.J;
}
@Override // com.mbridge.msdk.out.BaseExtraInterfaceForHandler
public void setExtraInfo(JSONObject jSONObject) {
c.m().a(this.g, jSONObject);
}
public void clearVideoCache() {
if (this.i) {
return;
}
try {
if (this.f != null) {
ad.b();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}

View File

@@ -0,0 +1,278 @@
package com.mbridge.msdk.newinterstitial.out;
import android.content.Context;
import android.text.TextUtils;
import com.mbridge.msdk.c.h;
import com.mbridge.msdk.foundation.controller.c;
import com.mbridge.msdk.foundation.same.b;
import com.mbridge.msdk.foundation.tools.ad;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.newreward.b.d;
import com.mbridge.msdk.newreward.function.common.MBridgeGlobalCommon;
import com.mbridge.msdk.out.BaseExtraInterfaceForHandler;
import com.mbridge.msdk.reward.b.a;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class MBNewInterstitialHandler implements BaseExtraInterfaceForHandler {
private String a;
private String b;
private String c;
private String d;
private String e;
private a f;
private String g;
private d h;
private NewInterstitialListener j;
private int p;
private int q;
private int r;
private boolean i = false;
private int k = 2;
private boolean l = false;
private boolean m = false;
private boolean n = false;
private boolean o = false;
public void setAlertDialogText(String str, String str2, String str3, String str4) {
this.b = str;
this.c = str2;
this.d = str3;
this.e = str4;
this.n = true;
this.o = true;
}
public void setInterstitialVideoListener(NewInterstitialListener newInterstitialListener) {
this.j = newInterstitialListener;
this.l = true;
this.m = true;
}
@Deprecated
public void setRewardVideoListener(NewInterstitialListener newInterstitialListener) {
this.j = newInterstitialListener;
this.l = true;
this.m = true;
}
public MBNewInterstitialHandler(Context context, String str, String str2) {
if (c.m().c() == null && context != null) {
c.m().b(context);
}
String e = ak.e(str2);
if (!TextUtils.isEmpty(e)) {
ak.b(str2, e);
}
this.a = str;
this.g = str2;
}
public MBNewInterstitialHandler(String str, String str2) {
this.a = str;
this.g = str2;
}
private void a(String str, String str2) {
try {
if (this.f == null) {
a aVar = new a();
this.f = aVar;
aVar.a(true);
this.f.b(str, str2);
h.a().e(str2);
}
} catch (Throwable th) {
af.b("MBRewardVideoHandler", th.getMessage(), th);
}
}
private void b(String str, String str2) {
if (this.h == null) {
if (TextUtils.isEmpty(str)) {
str = "";
}
this.h = new d(287, str, TextUtils.isEmpty(str2) ? "" : str2, false);
h.a().e(str2);
}
}
public void load() {
boolean a = b.a().a("new_bridge_reward_video");
this.i = a;
if (a) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a(true, "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(true, com.mbridge.msdk.foundation.same.report.d.d.a().a(0, 287, this.g, true, 2));
}
}
private void a() {
if (this.f == null) {
a(this.a, this.g);
}
if (this.m) {
a aVar = this.f;
if (aVar != null) {
aVar.a(new com.mbridge.msdk.newinterstitial.a.a(this.j, this.g, false));
}
this.m = false;
}
if (this.n) {
a aVar2 = this.f;
if (aVar2 != null) {
aVar2.a(this.b, this.c, this.d, this.e);
}
this.n = false;
}
a aVar3 = this.f;
if (aVar3 != null) {
aVar3.a(this.p, this.r, this.q);
this.f.a(this.k);
}
}
private void b() {
if (this.h == null) {
b(this.a, this.g);
}
if (this.l) {
d dVar = this.h;
if (dVar != null) {
dVar.a(new NewInterstitialListenerWrapper(this.j));
}
this.l = false;
}
if (this.o) {
MBridgeGlobalCommon.setAlertDialogText(this.g, this.b, this.c, this.d, this.e);
this.o = false;
}
d dVar2 = this.h;
if (dVar2 != null) {
dVar2.a(this.p, this.r, this.q);
this.h.a(this.k);
}
}
public void loadFormSelfFilling() {
boolean a = b.a().a("new_bridge_reward_video");
this.i = a;
if (a) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a(false, "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a(false, com.mbridge.msdk.foundation.same.report.d.d.a().a(0, 287, this.g, true, 1));
}
}
public boolean isReady() {
if (this.i) {
d dVar = this.h;
if (dVar != null) {
return dVar.a(true);
}
return false;
}
a aVar = this.f;
if (aVar != null) {
return aVar.d(true);
}
return false;
}
public String getRequestId() {
if (this.i) {
d dVar = this.h;
return dVar != null ? dVar.b() : "";
}
a aVar = this.f;
return aVar != null ? aVar.a() : "";
}
public String getCreativeIdWithUnitId() {
if (this.i) {
d dVar = this.h;
return dVar != null ? dVar.c() : "";
}
a aVar = this.f;
return aVar != null ? aVar.d() : "";
}
public void show() {
if (this.i) {
b();
d dVar = this.h;
if (dVar != null) {
dVar.a("", "", "");
return;
}
return;
}
a();
if (this.f != null) {
this.f.a((String) null, (String) null, (String) null, com.mbridge.msdk.foundation.same.report.d.d.a().a(0, 287, this.g, false, -1));
}
}
public void playVideoMute(int i) {
this.k = i;
if (this.i) {
d dVar = this.h;
if (dVar != null) {
dVar.a(i);
return;
}
return;
}
a aVar = this.f;
if (aVar != null) {
aVar.a(i);
}
}
public void setIVRewardEnable(int i, int i2) {
this.p = i;
this.q = i2;
this.r = com.mbridge.msdk.foundation.same.a.K;
}
public void setIVRewardEnable(int i, double d) {
this.p = i;
this.q = (int) (d * 100.0d);
this.r = com.mbridge.msdk.foundation.same.a.J;
}
@Override // com.mbridge.msdk.out.BaseExtraInterfaceForHandler
public void setExtraInfo(JSONObject jSONObject) {
c.m().a(this.g, jSONObject);
}
public void clearVideoCache() {
if (this.i) {
return;
}
try {
if (this.f != null) {
ad.b();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}

View File

@@ -0,0 +1,27 @@
package com.mbridge.msdk.newinterstitial.out;
import com.mbridge.msdk.out.MBridgeIds;
import com.mbridge.msdk.out.RewardInfo;
/* loaded from: classes4.dex */
public interface NewInterstitialListener {
void onAdClicked(MBridgeIds mBridgeIds);
void onAdClose(MBridgeIds mBridgeIds, RewardInfo rewardInfo);
void onAdCloseWithNIReward(MBridgeIds mBridgeIds, RewardInfo rewardInfo);
void onAdShow(MBridgeIds mBridgeIds);
void onEndcardShow(MBridgeIds mBridgeIds);
void onLoadCampaignSuccess(MBridgeIds mBridgeIds);
void onResourceLoadFail(MBridgeIds mBridgeIds, String str);
void onResourceLoadSuccess(MBridgeIds mBridgeIds);
void onShowFail(MBridgeIds mBridgeIds, String str);
void onVideoComplete(MBridgeIds mBridgeIds);
}

View File

@@ -0,0 +1,137 @@
package com.mbridge.msdk.newinterstitial.out;
import android.os.Handler;
import android.os.Looper;
import com.mbridge.msdk.newout.RewardVideoListener;
import com.mbridge.msdk.out.MBridgeIds;
import com.mbridge.msdk.out.RewardInfo;
/* loaded from: classes4.dex */
public class NewInterstitialListenerWrapper implements RewardVideoListener {
private final NewInterstitialListener a;
private final Handler b = new Handler(Looper.getMainLooper());
public NewInterstitialListenerWrapper(NewInterstitialListener newInterstitialListener) {
this.a = newInterstitialListener;
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onVideoLoadSuccess(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.1
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onResourceLoadSuccess(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onLoadSuccess(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.2
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onLoadCampaignSuccess(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onVideoLoadFail(final MBridgeIds mBridgeIds, final String str) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.3
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onResourceLoadFail(mBridgeIds, str);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onAdShow(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.4
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onAdShow(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onAdClose(final MBridgeIds mBridgeIds, final RewardInfo rewardInfo) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.5
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onAdClose(mBridgeIds, rewardInfo);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onShowFail(final MBridgeIds mBridgeIds, final String str) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.6
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onShowFail(mBridgeIds, str);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onVideoAdClicked(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.7
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onAdClicked(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onVideoComplete(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.8
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onVideoComplete(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onEndcardShow(final MBridgeIds mBridgeIds) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.9
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onEndcardShow(mBridgeIds);
}
}
});
}
@Override // com.mbridge.msdk.newout.RewardVideoListener
public void onAdCloseWithIVReward(final MBridgeIds mBridgeIds, final boolean z, final int i) {
this.b.post(new Runnable() { // from class: com.mbridge.msdk.newinterstitial.out.NewInterstitialListenerWrapper.10
@Override // java.lang.Runnable
public void run() {
if (NewInterstitialListenerWrapper.this.a != null) {
NewInterstitialListenerWrapper.this.a.onAdCloseWithNIReward(mBridgeIds, new RewardInfo(z, i));
}
}
});
}
}

View File

@@ -0,0 +1,21 @@
package com.mbridge.msdk.newinterstitial.out;
import com.mbridge.msdk.e.a;
import com.mbridge.msdk.out.MBridgeIds;
/* loaded from: classes4.dex */
public abstract class NewInterstitialWithCodeListener implements NewInterstitialListener {
public abstract void onResourceLoadFailWithCode(MBridgeIds mBridgeIds, int i, String str);
public abstract void onShowFailWithCode(MBridgeIds mBridgeIds, int i, String str);
@Override // com.mbridge.msdk.newinterstitial.out.NewInterstitialListener
public void onResourceLoadFail(MBridgeIds mBridgeIds, String str) {
onResourceLoadFailWithCode(mBridgeIds, a.a(3000, str), str);
}
@Override // com.mbridge.msdk.newinterstitial.out.NewInterstitialListener
public void onShowFail(MBridgeIds mBridgeIds, String str) {
onShowFailWithCode(mBridgeIds, 3900, str);
}
}