Perfume Of Love v2.14.9版本的 MD5 值为:16011aefc5a55805771706ce3b259b4e
以下内容为反编译后的 n3.java 源代码,内容仅作参考
package com.chartboost.sdk.impl;
import com.chartboost.sdk.impl.i1;
import com.chartboost.sdk.internal.Model.CBError;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONObject;
@Metadata(bv = {}, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\r\u001a\u00020\f\u0012\u0006\u0010\u000f\u001a\u00020\u000e¢\u0006\u0004\b\u0010\u0010\u0011J\u000e\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002J\u001c\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\u0010\t\u001a\u0004\u0018\u00010\bH\u0016J\u001c\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\u0010\u000b\u001a\u0004\u0018\u00010\nH\u0016¨\u0006\u0012"}, d2 = {"Lcom/chartboost/sdk/impl/n3;", "Lcom/chartboost/sdk/impl/i1$a;", "Lcom/chartboost/sdk/impl/e2;", "callback", "", "a", "Lcom/chartboost/sdk/impl/i1;", "request", "Lorg/json/JSONObject;", "response", "Lcom/chartboost/sdk/internal/Model/CBError;", "error", "Lcom/chartboost/sdk/impl/g1;", "networkService", "Lcom/chartboost/sdk/impl/u4;", "requestBodyBuilder", "<init>", "(Lcom/chartboost/sdk/impl/g1;Lcom/chartboost/sdk/impl/u4;)V", "Chartboost-9.2.0_productionRelease"}, k = 1, mv = {1, 6, 0})
public final class n3 implements i1.a {
public final g1 a;
public final u4 b;
public e2 c;
public n3(g1 networkService, u4 requestBodyBuilder) {
Intrinsics.checkNotNullParameter(networkService, "networkService");
Intrinsics.checkNotNullParameter(requestBodyBuilder, "requestBodyBuilder");
this.a = networkService;
this.b = requestBodyBuilder;
}
public final void a(e2 callback) {
Intrinsics.checkNotNullParameter(callback, "callback");
this.c = callback;
i1 i1Var = new i1("https://live.chartboost.com", "/api/config", this.b.a(), h4.HIGH, this);
i1Var.n = true;
this.a.a(i1Var);
}
@Override
public void a(i1 i1Var, JSONObject jSONObject) {
JSONObject configJson = b1.a(jSONObject, "response");
e2 e2Var = this.c;
if (e2Var != null) {
Intrinsics.checkNotNullExpressionValue(configJson, "configJson");
e2Var.a(configJson);
}
}
@Override
public void a(i1 i1Var, CBError cBError) {
String str;
if (cBError == null || cBError.getErrorDesc() == null) {
str = "Config failure";
} else {
str = cBError.getErrorDesc();
Intrinsics.checkNotNullExpressionValue(str, "error.errorDesc");
}
s2.d(new q2("config_request_error", str, "", ""));
e2 e2Var = this.c;
if (e2Var != null) {
e2Var.a(str);
}
}
}