Step Record v1.1.5版本的 MD5 值为:5797275f89198878d2f00ee92d534382
以下内容为反编译后的 l0.java 源代码,内容仅作参考
package com.chartboost.sdk.impl;
import com.chartboost.heliumsdk.impl.ttHtzKt;
import com.chartboost.sdk.impl.j2;
import com.chartboost.sdk.internal.Model.CBError;
import com.vungle.ads.internal.ui.SKHKzK;
import kotlin.Metadata;
import org.json.JSONObject;
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\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\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0010\u001a\u00020\u000e\u0012\u0006\u0010\u0014\u001a\u00020\u0011¢\u0006\u0004\b\u0017\u0010\u0018J\u0016\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004J\u001c\u0010\u0007\u001a\u00020\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\u000b\u001a\u0004\u0018\u00010\nH\u0016J\u001c\u0010\u0007\u001a\u00020\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\r\u001a\u0004\u0018\u00010\fH\u0016J\u0018\u0010\u0007\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u0004H\u0002R\u0014\u0010\u0010\u001a\u00020\u000e8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0007\u0010\u000fR\u0014\u0010\u0014\u001a\u00020\u00118\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0012\u0010\u0013R\u0016\u0010\u0005\u001a\u00020\u00048\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016¨\u0006\u0019"}, d2 = {"Lcom/chartboost/sdk/impl/l0;", "Lcom/chartboost/sdk/impl/j2$a;", "", "endpointPath", "Lcom/chartboost/sdk/impl/x9;", "showParams", "", "a", "Lcom/chartboost/sdk/impl/j2;", SKHKzK.REQUEST_KEY_EXTRA, "Lorg/json/JSONObject;", "response", "Lcom/chartboost/sdk/internal/Model/CBError;", "error", "Lcom/chartboost/sdk/impl/g2;", "Lcom/chartboost/sdk/impl/g2;", "networkService", "Lcom/chartboost/sdk/impl/d9;", "b", "Lcom/chartboost/sdk/impl/d9;", "requestBodyBuilder", "c", "Lcom/chartboost/sdk/impl/x9;", "<init>", "(Lcom/chartboost/sdk/impl/g2;Lcom/chartboost/sdk/impl/d9;)V", "Chartboost-9.5.0_productionRelease"}, k = 1, mv = {1, 8, 0})
public final class l0 implements j2.a {
public final g2 networkService;
public final d9 requestBodyBuilder;
public x9 showParams;
public l0(g2 g2Var, d9 d9Var) {
ttHtzKt.tzttS1SS1(g2Var, "networkService");
ttHtzKt.tzttS1SS1(d9Var, "requestBodyBuilder");
this.networkService = g2Var;
this.requestBodyBuilder = d9Var;
}
@Override
public void a(j2 request, JSONObject response) {
}
public final void a(String endpointPath, x9 showParams) {
ttHtzKt.tzttS1SS1(endpointPath, "endpointPath");
ttHtzKt.tzttS1SS1(showParams, "showParams");
this.showParams = showParams;
j2 j2Var = new j2("https://live.chartboost.com", endpointPath, this.requestBodyBuilder.build(), k8.NORMAL, this);
j2Var.dispatch = 1;
a(j2Var, showParams);
this.networkService.a(j2Var);
}
public final void a(j2 request, x9 showParams) {
request.a("cached", "0");
request.a("location", showParams.getLocation());
int videoCached = showParams.getVideoCached();
if (videoCached >= 0) {
request.a("video_cached", Integer.valueOf(videoCached));
}
String adId = showParams.getAdId();
if (adId == null || adId.length() == 0) {
return;
}
request.a("ad_id", adId);
}
@Override
public void a(j2 request, CBError error) {
String str;
if (error == null || (str = error.getErrorDesc()) == null) {
str = "Show failure";
}
String str2 = str;
x9 x9Var = this.showParams;
if (x9Var != null) {
String adTypeName = x9Var.getAdTypeName();
x9 x9Var2 = this.showParams;
if (x9Var2 != null) {
String location = x9Var2.getLocation();
x9 x9Var3 = this.showParams;
if (x9Var3 != null) {
qa.a(new j4("show_request_error", str2, adTypeName, location, x9Var3.getMediation()));
return;
} else {
ttHtzKt.HzHtt1("showParams");
throw null;
}
}
ttHtzKt.HzHtt1("showParams");
throw null;
}
ttHtzKt.HzHtt1("showParams");
throw null;
}
}