Pixel Fusion v1.0.2版本的 MD5 值为:7c04c460c2996569d4ad075cd671a946
以下内容为反编译后的 w2.java 源代码,内容仅作参考
package com.chartboost.sdk.impl;
import android.support.v4.media.BcCcABbc;
import com.chartboost.sdk.impl.tb;
import kotlin.jvm.internal.DcBba;
import org.json.JSONObject;
public final class w2 implements a5 {
public final a5 f46308a;
public w2(a5 eventTracker) {
DcBba.daAbdddd(eventTracker, "eventTracker");
this.f46308a = eventTracker;
}
public final void a(z2 z2Var, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
b(d8.ON_BACKGROUND.c(), z2Var, location, adTypeName);
}
public final void b(String str, z2 z2Var, String str2, String str3) {
a(BcCcABbc.BbdcDCacCa("javascript:Chartboost.EventHandler.handleNativeEvent(\"", str, "\")"), z2Var, str2, str3);
}
public final void c(z2 z2Var, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
b(d8.VIDEO_ENDED.c(), z2Var, location, adTypeName);
}
@Override
public void clear(String type, String location) {
DcBba.daAbdddd(type, "type");
DcBba.daAbdddd(location, "location");
this.f46308a.clear(type, location);
}
@Override
public qb clearFromStorage(qb qbVar) {
DcBba.daAbdddd(qbVar, "<this>");
return this.f46308a.clearFromStorage(qbVar);
}
public final void d(z2 z2Var, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
b(d8.VIDEO_FAILED.c(), z2Var, location, adTypeName);
}
@Override
public qb persist(qb qbVar) {
DcBba.daAbdddd(qbVar, "<this>");
return this.f46308a.persist(qbVar);
}
@Override
public ob refresh(ob obVar) {
DcBba.daAbdddd(obVar, "<this>");
return this.f46308a.refresh(obVar);
}
@Override
public ib store(ib ibVar) {
DcBba.daAbdddd(ibVar, "<this>");
return this.f46308a.store(ibVar);
}
@Override
public qb track(qb qbVar) {
DcBba.daAbdddd(qbVar, "<this>");
return this.f46308a.track(qbVar);
}
@Override
public void mo2clearFromStorage(qb event) {
DcBba.daAbdddd(event, "event");
this.f46308a.mo2clearFromStorage(event);
}
@Override
public void mo3persist(qb event) {
DcBba.daAbdddd(event, "event");
this.f46308a.mo3persist(event);
}
@Override
public void mo4refresh(ob config) {
DcBba.daAbdddd(config, "config");
this.f46308a.mo4refresh(config);
}
@Override
public void mo5store(ib ad) {
DcBba.daAbdddd(ad, "ad");
this.f46308a.mo5store(ad);
}
@Override
public void mo6track(qb event) {
DcBba.daAbdddd(event, "event");
this.f46308a.mo6track(event);
}
public final void a(z2 z2Var, float f, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
JSONObject jSONObject = new JSONObject();
jSONObject.put("seconds", Float.valueOf(f));
String c = d8.PLAYBACK_TIME.c();
String jSONObject2 = jSONObject.toString();
DcBba.bBCadBacC(jSONObject2, "json.toString()");
a(c, jSONObject2, z2Var, location, adTypeName);
}
public final void a(String str, String str2, z2 z2Var, String str3, String str4) {
a("javascript:Chartboost.EventHandler.handleNativeEvent(\"" + str + "\", " + str2 + ')', z2Var, str3, str4);
}
public final void b(z2 z2Var, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
b(d8.ON_FOREGROUND.c(), z2Var, location, adTypeName);
}
public final void a(String str, z2 z2Var, String str2, String str3) {
try {
if (z2Var == null) {
track((qb) new d4(tb.h.WEBVIEW_ERROR, "Webview is null", str3, str2, null, null, 48, null));
w7.c("CBTemplateProxy", "Calling native to javascript webview is null");
} else {
w7.a("CBTemplateProxy", "Calling native to javascript: " + str);
z2Var.loadUrl(str);
}
} catch (Exception e) {
track((qb) new d4(tb.h.WEBVIEW_CRASH, "Cannot open url: " + e, str3, str2, null, null, 48, null));
w7.c("CBTemplateProxy", "Calling native to javascript. Cannot open url: " + e);
}
}
public final void b(z2 z2Var, float f, String location, String adTypeName) {
DcBba.daAbdddd(location, "location");
DcBba.daAbdddd(adTypeName, "adTypeName");
JSONObject jSONObject = new JSONObject();
jSONObject.put("totalDuration", Float.valueOf(f));
String c = d8.VIDEO_STARTED.c();
String jSONObject2 = jSONObject.toString();
DcBba.bBCadBacC(jSONObject2, "json.toString()");
a(c, jSONObject2, z2Var, location, adTypeName);
}
}