Files
Daniel Elliott f9d20bb3fc 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>
2026-02-18 14:52:23 -08:00

186 lines
5.4 KiB
Java

package com.mbridge.msdk.splash.signal;
import android.content.Context;
import android.text.TextUtils;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.mbsignalcommon.windvane.AbsFeedBackForH5;
import com.mbridge.msdk.mbsignalcommon.windvane.WindVaneWebView;
import com.unity3d.services.ads.gmascar.bridges.mobileads.MobileAdsBridgeBase;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class SplashSignal extends AbsFeedBackForH5 {
public static final /* synthetic */ int $r8$clinit = 0;
private static String a = "SplashSignal";
private c e;
@Override // com.mbridge.msdk.mbsignalcommon.windvane.h
public void initialize(Context context, WindVaneWebView windVaneWebView) {
super.initialize(context, windVaneWebView);
try {
if (windVaneWebView.getObject() == null || !(windVaneWebView.getObject() instanceof c)) {
return;
}
this.e = (c) windVaneWebView.getObject();
} catch (Throwable th) {
af.b(a, MobileAdsBridgeBase.initializeMethodName, th);
}
}
public void init(Object obj, String str) {
af.b(a, MobileAdsBridgeBase.initializeMethodName + str);
c cVar = this.e;
if (cVar != null) {
cVar.a(obj, str);
}
}
public void toggleCloseBtn(Object obj, String str) {
af.b(a, "toggleCloseBtn" + str);
c cVar = this.e;
if (cVar != null) {
cVar.b(obj, str);
}
}
public void triggerCloseBtn(Object obj, String str) {
af.b(a, "triggerCloseBtn" + str);
c cVar = this.e;
if (cVar != null) {
cVar.c(obj, str);
}
}
public void readyStatus(Object obj, String str) {
if (obj != null) {
try {
int optInt = new JSONObject(str).optInt("isReady", 1);
WindVaneWebView windVaneWebView = ((com.mbridge.msdk.mbsignalcommon.windvane.a) obj).b;
if (windVaneWebView == null || windVaneWebView.getWebViewListener() == null) {
return;
}
windVaneWebView.getWebViewListener().a(windVaneWebView, optInt);
} catch (Throwable th) {
af.b(a, "readyStatus", th);
}
}
}
public void install(Object obj, String str) {
c cVar = this.e;
if (cVar != null) {
cVar.d(obj, str);
}
}
public void resetCountdown(Object obj, String str) {
af.b(a, "resetCountdown" + str);
c cVar = this.e;
if (cVar != null) {
cVar.f(obj, str);
}
}
public void openURL(Object obj, String str) {
af.b(a, "openURL" + str);
c cVar = this.e;
if (cVar != null) {
cVar.e(obj, str);
}
}
public void handlerH5Exception(Object obj, String str) {
if (obj != null) {
try {
WindVaneWebView windVaneWebView = ((com.mbridge.msdk.mbsignalcommon.windvane.a) obj).b;
if (windVaneWebView == null || windVaneWebView.getWebViewListener() == null) {
return;
}
windVaneWebView.getWebViewListener().a(windVaneWebView, 0, str.toString(), windVaneWebView.getUrl());
} catch (Throwable th) {
af.b(a, "handlerH5Exception", th);
}
}
}
public void getFileInfo(Object obj, String str) {
try {
if (TextUtils.isEmpty(str)) {
return;
}
d.a(obj, new JSONObject(str));
} catch (JSONException e) {
e.printStackTrace();
}
}
public void sendImpressions(Object obj, String str) {
try {
af.b(a, "sendImpressions");
c cVar = this.e;
if (cVar != null) {
cVar.g(obj, str);
}
} catch (Throwable th) {
af.b(a, "sendImpressions", th);
}
}
public void reportUrls(Object obj, String str) {
try {
af.b(a, "reportUrls");
c cVar = this.e;
if (cVar != null) {
cVar.h(obj, str);
}
} catch (Throwable th) {
af.b(a, "reportUrls", th);
}
}
public void increaseOfferFrequence(Object obj, String str) {
try {
d.b(obj, new JSONObject(str));
} catch (JSONException e) {
e.printStackTrace();
}
}
public void onSignalCommunication(Object obj, String str) {
try {
af.b(a, "onSignalCommunication");
c cVar = this.e;
if (cVar != null) {
cVar.i(obj, str);
}
} catch (Throwable th) {
af.b(a, "onSignalCommunication", th);
}
}
public void pauseCountDown(Object obj, String str) {
try {
af.b(a, "pauseCountDown");
c cVar = this.e;
if (cVar != null) {
cVar.j(obj, str);
}
} catch (Throwable th) {
af.b(a, "pauseCountDown", th);
}
}
public void resumeCountDown(Object obj, String str) {
try {
af.b(a, "resumeCountDown");
c cVar = this.e;
if (cVar != null) {
cVar.k(obj, str);
}
} catch (Throwable th) {
af.b(a, "resumeCountDown", th);
}
}
}