GoooBet v1.0版本的 MD5 值为:ff9748f16167bfd7735b669c0a9931c5
以下内容为反编译后的 AdsConstants.java 源代码,内容仅作参考
package com.startapp.android.publish.adsCommon;
import com.startapp.android.publish.common.metaData.MetaData;
import com.startapp.android.publish.common.model.AdPreferences;
public class AdsConstants {
public static final int AD_INFORMATION_EXTENDED_ID = 1475346434;
public static final int AD_INFORMATION_ID = 1475346433;
public static final Boolean FORCE_NATIVE_VIDEO_PLAYER;
public static final int LIST_3D_CLOSE_BUTTON_ID = 1475346435;
public static final String OVERRIDE_HOST;
public static final Boolean OVERRIDE_NETWORK;
public static final int SPLASH_NATIVE_MAIN_LAYOUT_ID = 1475346437;
public static final int STARTAPP_AD_MAIN_LAYOUT_ID = 1475346432;
public static final Boolean VIDEO_DEBUG;
public static final String f3429a = "get";
public static final String b;
public static final String c;
public static final String d;
public static final String e;
public static final String f;
public static final Boolean g;
public static final String h;
public static final String i;
public static final String j;
public static final String[] k;
public static final String[] l;
public enum AdApiType {
HTML,
JSON
}
public enum ServiceApiType {
METADATA,
DOWNLOAD
}
static {
StringBuilder sb = new StringBuilder();
sb.append(f3429a);
sb.append("ads");
b = sb.toString();
StringBuilder sb2 = new StringBuilder();
sb2.append(f3429a);
sb2.append("htmlad");
c = sb2.toString();
d = "trackdownload";
StringBuilder sb3 = new StringBuilder();
sb3.append(f3429a);
sb3.append("adsmetadata");
e = sb3.toString();
f = "https://imp.startappservice.com/tracking/adImpression";
OVERRIDE_HOST = null;
OVERRIDE_NETWORK = false;
g = false;
VIDEO_DEBUG = false;
FORCE_NATIVE_VIDEO_PLAYER = false;
h = com.startapp.android.publish.adsCommon.Utils.i.b();
i = com.startapp.android.publish.adsCommon.Utils.i.c();
j = com.startapp.android.publish.adsCommon.Utils.i.d();
k = new String[]{"back_", "back_dark", "browser_icon_dark", "forward_", "forward_dark", "x_dark"};
l = new String[]{"empty_star", "filled_star", "half_star"};
}
public static String a(ServiceApiType serviceApiType) {
String str;
String metaDataHost;
String str2;
int i2 = AnonymousClass1.f3430a[serviceApiType.ordinal()];
String str3 = null;
if (i2 == 1) {
str = e;
metaDataHost = MetaData.getInstance().getMetaDataHost();
} else if (i2 == 2) {
str = d;
metaDataHost = MetaData.getInstance().getAdPlatformHost();
} else {
str2 = null;
return str3 + str2;
}
String str4 = str;
str3 = metaDataHost;
str2 = str4;
return str3 + str2;
}
public static class AnonymousClass1 {
static final int[] f3430a;
static final int[] b;
static {
int[] iArr = new int[AdApiType.values().length];
b = iArr;
try {
iArr[AdApiType.HTML.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
b[AdApiType.JSON.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
int[] iArr2 = new int[ServiceApiType.values().length];
f3430a = iArr2;
try {
iArr2[ServiceApiType.METADATA.ordinal()] = 1;
} catch (NoSuchFieldError unused3) {
}
try {
f3430a[ServiceApiType.DOWNLOAD.ordinal()] = 2;
} catch (NoSuchFieldError unused4) {
}
}
}
public static String a(AdApiType adApiType, AdPreferences.Placement placement) {
String str;
String adPlatformHost;
String str2;
int i2 = AnonymousClass1.b[adApiType.ordinal()];
String str3 = null;
if (i2 == 1) {
str = c;
adPlatformHost = MetaData.getInstance().getAdPlatformHost(placement);
} else if (i2 == 2) {
str = b;
adPlatformHost = MetaData.getInstance().getAdPlatformHost(placement);
} else {
str2 = null;
return str3 + str2;
}
String str4 = str;
str3 = adPlatformHost;
str2 = str4;
return str3 + str2;
}
public static Boolean a() {
return VIDEO_DEBUG;
}
}