Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279
以下内容为反编译后的 ThinICEConfig.java 源代码,内容仅作参考
package com.fusepowered.im.commons.analytics.bootstrapper;
import com.fusepowered.im.commons.internal.InternalSDKUtil;
import java.util.Map;
public class ThinICEConfig {
public static final int CELL_OP_FLAGS_DEFAULT = 0;
public static final boolean ENABLED_DEFAULT = true;
public static final String END_POINT_DEFAULT = "https://sdkm.w.inmobi.com/user/e.asm";
public static final long MAX_RETRY_DEFAULT = 3;
public static final long RETRY_INTERVAL = 3;
public static final boolean SAMPLE_CELL_CONNECTED_WIFI_ENABLED_DEFAULT = true;
public static final boolean SAMPLE_CELL_ENABLED_DEFAULT = true;
public static final boolean SAMPLE_CELL_OPERATOR_ENABLED_DEFAULT = true;
public static final boolean SAMPLE_CELL_VISIBLE_CELL_TOWER_ENABLED_DEFAULT = true;
public static final boolean SAMPLE_CELL_VISIBLE_WIFI_ENABLED_DEFAULT = true;
public static final int SAMPLE_HISTORY_SIZE_DEFAULT = 50;
public static final long SAMPLE_INTERVAL_DEFAULT = 60;
public static final long STOP_REQUEST_TIMEOUT_DEFAULT = 3;
public static final int WIFI_FLAGS_DEFAULT = 0;
private long a = 60;
private long b = 3;
private long f229c = 3;
private long d = 3;
private int e = 50;
private int f = 0;
private int g = 0;
private String h = END_POINT_DEFAULT;
private boolean i = true;
private boolean j = true;
private boolean k = true;
private boolean l = true;
private boolean m = true;
private boolean n = true;
private boolean o = false;
private long p = 180;
private long q = 50;
public long getSampleInterval() {
return this.a;
}
public long getStopRequestTimeout() {
return this.b;
}
public long getRetryInterval() {
return this.f229c;
}
public long getMaxRetry() {
return this.d;
}
public int getSampleHistorySize() {
return this.e;
}
public int getWifiFlags() {
return this.f;
}
public int getCellOpsFlag() {
return this.g;
}
public boolean isEnabled() {
return this.i;
}
public boolean isOperatorEnabled() {
return this.j;
}
public boolean isCellEnabled() {
return this.k;
}
public boolean isConnectedWifiEnabled() {
return this.l;
}
public boolean isVisibleWifiEnabled() {
return this.m;
}
public boolean isVisibleCellTowerEnabled() {
return this.n;
}
public String getEndpointUrl() {
return this.h;
}
public boolean isActivityDetectionEnabled() {
return this.o;
}
public long getActivityDetectionInterval() {
return this.p * 1000;
}
public long getActivityDetectionMaxSize() {
return this.q;
}
public final void setFromMap(Map<String, Object> map) {
this.a = InternalSDKUtil.getLongFromMap(map, "si", 1L, Long.MAX_VALUE);
this.b = InternalSDKUtil.getLongFromMap(map, "srt", 1L, Long.MAX_VALUE);
this.e = InternalSDKUtil.getIntFromMap(map, "shs", 1, 2147483647L);
this.f = InternalSDKUtil.getIntFromMap(map, "wfd", 0, 15L);
this.g = InternalSDKUtil.getIntFromMap(map, "cof", 0, 15L);
this.i = InternalSDKUtil.getBooleanFromMap(map, "e");
this.l = InternalSDKUtil.getBooleanFromMap(map, "sccw");
this.k = InternalSDKUtil.getBooleanFromMap(map, "sced");
this.j = InternalSDKUtil.getBooleanFromMap(map, "scoe");
this.m = InternalSDKUtil.getBooleanFromMap(map, "scvw");
this.n = InternalSDKUtil.getBooleanFromMap(map, "scvc");
this.h = InternalSDKUtil.getStringFromMap(map, "ep");
this.d = InternalSDKUtil.getLongFromMap(map, "mr", 0L, Long.MAX_VALUE);
this.f229c = InternalSDKUtil.getLongFromMap(map, "ri", 1L, Long.MAX_VALUE);
this.o = InternalSDKUtil.getBooleanFromMap(map, "as");
this.p = InternalSDKUtil.getLongFromMap(map, "assi", 1L, Long.MAX_VALUE);
this.q = InternalSDKUtil.getLongFromMap(map, "asm", 1L, Long.MAX_VALUE);
}
}