MyRecorder v1.01.90.0219版本的 MD5 值为:c361f51174a0bf833abfa72929caf8d3
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.fyber;
import android.app.Activity;
import android.text.TextUtils;
import com.fyber.fairbid.ads.FairBidListener;
import com.fyber.fairbid.adtransparency.interceptors.AbstractInterceptor;
import com.fyber.fairbid.bb;
import com.fyber.fairbid.cb;
import com.fyber.fairbid.dk;
import com.fyber.fairbid.ga;
import com.fyber.fairbid.gk;
import com.fyber.fairbid.hk;
import com.fyber.fairbid.internal.FairBidState;
import com.fyber.fairbid.internal.Logger;
import com.fyber.fairbid.internal.e;
import com.fyber.fairbid.internal.f;
import com.fyber.fairbid.l7;
import com.fyber.fairbid.mediation.adapter.AdapterPool;
import com.fyber.fairbid.mediation.config.MediationConfig;
import com.fyber.fairbid.nf;
import com.fyber.fairbid.ri;
import com.fyber.fairbid.sdk.mediation.FairBidListenerHandler;
import com.fyber.fairbid.sdk.testsuite.bus.EventBus;
import com.fyber.fairbid.user.UserInfoKotlinWrapper;
import nk.s;
public final class a {
public static a f19021d;
public final l7 f19022a;
public final FairBidState f19023b;
public final nf f19024c;
public a(l7 l7Var, FairBidState fairBidState, nf nfVar) {
this.f19022a = l7Var;
this.f19023b = fairBidState;
this.f19024c = nfVar;
}
public static boolean a() {
if (!g()) {
Logger.warn("FairBid needs to be started. Call FairBid.start('<publisher_id>', activity) from either the onCreate or onResume methods in your Activity.");
}
return g();
}
public static synchronized a b(String str) {
a aVar;
synchronized (a.class) {
if (f19021d == null) {
e eVar = e.f20122a;
f fVar = e.f20123b;
l7 g7 = fVar.g();
g7.f20442d = str;
f19021d = new a(g7, (FairBidState) fVar.f20126c.getValue(), (nf) fVar.f20130g.getValue());
}
aVar = f19021d;
}
return aVar;
}
public static String e() {
return (String) ri.a(AbstractInterceptor.INJECTION_STATUS_CLASS_NAME, "agpVersion");
}
public static String f() {
return (String) ri.a(AbstractInterceptor.INJECTION_STATUS_CLASS_NAME, "pluginVersion");
}
public static boolean g() {
e eVar = e.f20122a;
return ((FairBidState) e.f20123b.f20126c.getValue()).isFairBidSdkStartedOrStarting();
}
public static void i(Activity activity) {
e eVar = e.f20122a;
dk dkVar = dk.API;
((hk) e.f20123b.B.getValue()).getClass();
hk.a(activity, dkVar);
}
public static void k(String str, Activity activity) {
b(str).j(activity);
}
public a c() {
l7 l7Var;
if (!g()) {
l7Var.f20444f += "\n advertising ID: explicitly disabled";
this.f19022a.f20441c = false;
}
return this;
}
public a d() {
l7 l7Var;
if (!g()) {
l7Var.f20444f += "\n auto request: explicitly disabled";
this.f19022a.f20440b.set(false);
}
return this;
}
public a h(boolean z7) {
if (!g()) {
l7 l7Var = this.f19022a;
l7Var.f20444f += "\n user is a child: explicitly set as " + z7;
UserInfoKotlinWrapper.setIsChild(z7);
}
return this;
}
public synchronized void j(Activity activity) {
if (this.f19023b.hasNeverBeenStarted() && !this.f19023b.isFairBidDisabled()) {
try {
Logger.debug("Start options: " + this.f19022a.f20444f);
e eVar = e.f20122a;
f fVar = e.f20123b;
fVar.c().a(activity);
if (this.f19023b.canSDKBeStarted(activity)) {
cb cbVar = ((bb) fVar.A.getValue()).f19333a;
cbVar.b();
cbVar.a();
cbVar.c();
this.f19024c.getClass();
Logger.init(activity);
fVar.a().f22277j.a();
ga n10 = eVar.n();
n10.a(activity);
this.f19023b.setFairBidStarting();
l7 l7Var = this.f19022a;
n10.a(l7Var.f20443e.getValue(l7Var, l7.f20438g[0]).booleanValue());
hk hkVar = (hk) fVar.B.getValue();
MediationConfig k10 = fVar.k();
hkVar.getClass();
s.h(activity, "activity");
s.h(k10, "mediationConfig");
EventBus.registerReceiver(1, new gk(hkVar, activity, k10));
Logger.debug("SDK has been started: auto-requesting = " + this.f19022a.f20440b.get());
if (!(!TextUtils.isEmpty(f()))) {
Logger.warn("FairBid - You are missing the FairBid SDK Plugin in your integration.");
Logger.warn("FairBid - Please, follow the integration guide under https://developer.fyber.com/hc/en-us/articles/360010079657-Android-SDK-Integration");
}
} else {
this.f19023b.disableSDK();
}
} catch (RuntimeException e10) {
Logger.error(String.format("FairBid encountered a runtime exception and is now disabled. Error: %s", e10.getMessage()));
AdapterPool a10 = this.f19023b.isFairBidSdkStartedOrStarting() ? e.f20122a.a() : null;
e eVar2 = e.f20122a;
e.f20123b.d().a(e10, a10);
throw e10;
}
}
}
public a l(FairBidListener fairBidListener) {
if (!g()) {
e eVar = e.f20122a;
((FairBidListenerHandler) e.f20123b.f20140q.getValue()).setFairBidListener(fairBidListener);
}
return this;
}
}