Pixel Fusion v1.0.2版本的 MD5 值为:7c04c460c2996569d4ad075cd671a946
以下内容为反编译后的 v3.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 v3 implements t2.a {
public final q2 f46295a;
public final ca b;
public final z4 c;
public w3 d;
public v3(q2 networkService, ca requestBodyBuilder, z4 eventTracker) {
DcBba.daAbdddd(networkService, "networkService");
DcBba.daAbdddd(requestBodyBuilder, "requestBodyBuilder");
DcBba.daAbdddd(eventTracker, "eventTracker");
this.f46295a = networkService;
this.b = requestBodyBuilder;
this.c = eventTracker;
}
public final void a(w3 w3Var, u3 params) {
DcBba.daAbdddd(params, "params");
this.d = w3Var;
t2 t2Var = new t2("https://live.chartboost.com", "/api/video-complete", this.b.a(), i9.NORMAL, this, this.c);
a(t2Var, params);
this.f46295a.a(t2Var);
}
public final void a(t2 t2Var, u3 u3Var) {
String TAG;
t2Var.a("location", u3Var.c());
t2Var.a("reward", Integer.valueOf(u3Var.d()));
t2Var.a("currency-name", u3Var.e());
t2Var.a("ad_id", u3Var.a());
t2Var.a("force_close", Boolean.FALSE);
t2Var.a("cgn", u3Var.b());
if (u3Var.g() == null || u3Var.f() == null) {
return;
}
float f = 1000;
t2Var.a("total_time", Float.valueOf(u3Var.f().floatValue() / f));
t2Var.a("playback_time", Float.valueOf(u3Var.g().floatValue() / f));
TAG = x3.f46323a;
DcBba.bBCadBacC(TAG, "TAG");
w7.a(TAG, "TotalDuration: " + u3Var.f() + " PlaybackTime: " + u3Var.g());
}
@Override
public void a(t2 t2Var, JSONObject jSONObject) {
JSONObject a2 = h2.a(jSONObject, gh.b2);
w3 w3Var = this.d;
if (w3Var != null) {
w3Var.a(a2);
}
}
@Override
public void a(t2 t2Var, CBError cBError) {
String str;
if (cBError == null || (str = cBError.getErrorDesc()) == null) {
str = "Click failure";
}
w3 w3Var = this.d;
if (w3Var != null) {
w3Var.a(str);
}
}
}