Pixel Fusion v1.0.2版本的 MD5 值为:7c04c460c2996569d4ad075cd671a946
以下内容为反编译后的 m3.java 源代码,内容仅作参考
package com.chartboost.sdk.impl;
import com.chartboost.sdk.impl.t2;
import com.chartboost.sdk.internal.Model.CBError;
import com.json.gh;
import kotlin.jvm.internal.DcBba;
import org.json.JSONObject;
public final class m3 implements t2.a {
public final q2 f46188a;
public final ca b;
public final z4 c;
public n3 d;
public m3(q2 networkService, ca requestBodyBuilder, z4 eventTracker) {
DcBba.daAbdddd(networkService, "networkService");
DcBba.daAbdddd(requestBodyBuilder, "requestBodyBuilder");
DcBba.daAbdddd(eventTracker, "eventTracker");
this.f46188a = networkService;
this.b = requestBodyBuilder;
this.c = eventTracker;
}
public final void a(n3 n3Var, k3 params) {
DcBba.daAbdddd(params, "params");
this.d = n3Var;
t2 t2Var = new t2("https://live.chartboost.com", "/api/click", this.b.a(), i9.NORMAL, this, this.c);
t2Var.r = true;
a(t2Var, params);
this.f46188a.a(t2Var);
}
public final void a(t2 t2Var, k3 k3Var) {
String TAG;
t2Var.a("ad_id", k3Var.a());
t2Var.a("to", k3Var.g());
t2Var.a("cgn", k3Var.b());
t2Var.a("creative", k3Var.c());
t2Var.a("location", k3Var.e());
if (k3Var.d() == f7.BANNER) {
t2Var.a("creative", "");
} else if (k3Var.i() != null && k3Var.h() != null) {
float f = 1000;
t2Var.a("total_time", Float.valueOf(k3Var.h().floatValue() / f));
t2Var.a("playback_time", Float.valueOf(k3Var.i().floatValue() / f));
TAG = o3.f46213a;
DcBba.bBCadBacC(TAG, "TAG");
w7.a(TAG, "TotalDuration: " + k3Var.h() + " PlaybackTime: " + k3Var.i());
}
Boolean f2 = k3Var.f();
if (f2 != null) {
t2Var.a("retarget_reinstall", Boolean.valueOf(f2.booleanValue()));
}
}
@Override
public void a(t2 t2Var, JSONObject jSONObject) {
JSONObject a2 = h2.a(jSONObject, gh.b2);
n3 n3Var = this.d;
if (n3Var != null) {
n3Var.a(a2);
}
}
@Override
public void a(t2 t2Var, CBError cBError) {
String str;
if (cBError == null || (str = cBError.getErrorDesc()) == null) {
str = "Click failure";
}
n3 n3Var = this.d;
if (n3Var != null) {
n3Var.a(str);
}
}
}