Live Football Updates v1.0版本的 MD5 值为:95609b5a5bec0a5f5a0b6e8e4d8f1cba
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.onesignal.core.internal.config;
import com.ironsource.q2;
import org.json.JSONArray;
import org.json.JSONObject;
public final class a extends com.onesignal.common.modeling.g {
public static final class C0151a extends ti.k implements si.a<String> {
public static final C0151a INSTANCE = new C0151a();
public C0151a() {
super(0);
}
@Override
public final String invoke() {
return "https://api.onesignal.com/";
}
}
public static final class b extends ti.k implements si.a<Boolean> {
public static final b INSTANCE = new b();
public b() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.TRUE;
}
}
public static final class c extends ti.k implements si.a<Boolean> {
public static final c INSTANCE = new c();
public c() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class d extends ti.k implements si.a<Boolean> {
public static final d INSTANCE = new d();
public d() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class e extends ti.k implements si.a<Object> {
public e() {
super(0);
}
@Override
public final Object invoke() {
return new com.onesignal.core.internal.config.c(a.this, "fcmParams");
}
}
public static final class f extends ti.k implements si.a<Long> {
public static final f INSTANCE = new f();
public f() {
super(0);
}
@Override
public final Long invoke() {
return 30000L;
}
}
public static final class g extends ti.k implements si.a<Boolean> {
public static final g INSTANCE = new g();
public g() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class h extends ti.k implements si.a<Integer> {
public static final h INSTANCE = new h();
public h() {
super(0);
}
@Override
public final Integer invoke() {
return 60000;
}
}
public static final class i extends ti.k implements si.a<Integer> {
public static final i INSTANCE = new i();
public i() {
super(0);
}
@Override
public final Integer invoke() {
return 120000;
}
}
public static final class j extends ti.k implements si.a<Object> {
public j() {
super(0);
}
@Override
public final Object invoke() {
return new com.onesignal.core.internal.config.d(a.this, "influenceParams");
}
}
public static final class k extends ti.k implements si.a<Boolean> {
public static final k INSTANCE = new k();
public k() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class l extends ti.k implements si.a<Boolean> {
public static final l INSTANCE = new l();
public l() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class m extends ti.k implements si.a<String> {
public static final m INSTANCE = new m();
public m() {
super(0);
}
@Override
public final String invoke() {
return null;
}
}
public static final class n extends ti.k implements si.a<Long> {
public static final n INSTANCE = new n();
public n() {
super(0);
}
@Override
public final Long invoke() {
return 5000L;
}
}
public static final class o extends ti.k implements si.a<Long> {
public static final o INSTANCE = new o();
public o() {
super(0);
}
@Override
public final Long invoke() {
return 200L;
}
}
public static final class p extends ti.k implements si.a<Boolean> {
public static final p INSTANCE = new p();
public p() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class q extends ti.k implements si.a<Boolean> {
public static final q INSTANCE = new q();
public q() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.TRUE;
}
}
public static final class r extends ti.k implements si.a<Long> {
public static final r INSTANCE = new r();
public r() {
super(0);
}
@Override
public final Long invoke() {
return 30000L;
}
}
public static final class s extends ti.k implements si.a<Boolean> {
public static final s INSTANCE = new s();
public s() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class t extends ti.k implements si.a<Boolean> {
public static final t INSTANCE = new t();
public t() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public static final class u extends ti.k implements si.a<Boolean> {
public static final u INSTANCE = new u();
public u() {
super(0);
}
@Override
public final Boolean invoke() {
return Boolean.FALSE;
}
}
public a() {
super(null, null, 3, null);
}
@Override
public com.onesignal.common.modeling.g createModelForProperty(String str, JSONObject jSONObject) {
ti.j.f(str, "property");
ti.j.f(jSONObject, "jsonObject");
if (ti.j.a(str, "influenceParams")) {
com.onesignal.core.internal.config.d dVar = new com.onesignal.core.internal.config.d(this, "influenceParams");
dVar.initializeFromJson(jSONObject);
return dVar;
} else if (ti.j.a(str, "fcmParams")) {
com.onesignal.core.internal.config.c cVar = new com.onesignal.core.internal.config.c(this, "influenceParams");
cVar.initializeFromJson(jSONObject);
return cVar;
} else {
return null;
}
}
public final String getApiUrl() {
return getStringProperty("apiUrl", C0151a.INSTANCE);
}
public final String getAppId() {
return com.onesignal.common.modeling.g.getStringProperty$default(this, "appId", null, 2, null);
}
public final boolean getClearGroupOnSummaryClick() {
return getBooleanProperty("clearGroupOnSummaryClick", b.INSTANCE);
}
public final Boolean getConsentGiven() {
return com.onesignal.common.modeling.g.getOptBooleanProperty$default(this, "consentGiven", null, 2, null);
}
public final Boolean getConsentRequired() {
return com.onesignal.common.modeling.g.getOptBooleanProperty$default(this, "consentRequired", null, 2, null);
}
public final boolean getDisableGMSMissingPrompt() {
return getBooleanProperty("disableGMSMissingPrompt", c.INSTANCE);
}
public final boolean getEnterprise() {
return getBooleanProperty("enterprise", d.INSTANCE);
}
public final com.onesignal.core.internal.config.c getFcmParams() {
Object anyProperty = getAnyProperty("fcmParams", new e());
ti.j.d(anyProperty, "null cannot be cast to non-null type com.onesignal.core.internal.config.FCMConfigModel");
return (com.onesignal.core.internal.config.c) anyProperty;
}
public final long getFetchIAMMinInterval() {
return getLongProperty("fetchIAMMinInterval", f.INSTANCE);
}
public final boolean getFirebaseAnalytics() {
return getBooleanProperty("firebaseAnalytics", g.INSTANCE);
}
public final String getGoogleProjectNumber() {
return com.onesignal.common.modeling.g.getOptStringProperty$default(this, "googleProjectNumber", null, 2, null);
}
public final int getHttpGetTimeout() {
return getIntProperty("httpGetTimeout", h.INSTANCE);
}
public final int getHttpTimeout() {
return getIntProperty("httpTimeout", i.INSTANCE);
}
public final com.onesignal.core.internal.config.d getInfluenceParams() {
Object anyProperty = getAnyProperty("influenceParams", new j());
ti.j.d(anyProperty, "null cannot be cast to non-null type com.onesignal.core.internal.config.InfluenceConfigModel");
return (com.onesignal.core.internal.config.d) anyProperty;
}
public final boolean getLocationShared() {
return getBooleanProperty("locationShared", l.INSTANCE);
}
public final JSONArray getNotificationChannels() {
String optStringProperty = getOptStringProperty("notificationChannels", m.INSTANCE);
if (optStringProperty == null) {
optStringProperty = "[]";
}
return new JSONArray(optStringProperty);
}
public final long getOpRepoExecutionInterval() {
return getLongProperty("opRepoExecutionInterval", n.INSTANCE);
}
public final long getOpRepoPostWakeDelay() {
return getLongProperty("opRepoPostWakeDelay", o.INSTANCE);
}
public final String getPushSubscriptionId() {
return com.onesignal.common.modeling.g.getOptStringProperty$default(this, "pushSubscriptionId", null, 2, null);
}
public final boolean getReceiveReceiptEnabled() {
return getBooleanProperty("receiveReceiptEnabled", p.INSTANCE);
}
public final boolean getRestoreTTLFilter() {
return getBooleanProperty("restoreTTLFilter", q.INSTANCE);
}
public final long getSessionFocusTimeout() {
return getLongProperty("sessionFocusTimeout", r.INSTANCE);
}
public final boolean getUnsubscribeWhenNotificationsDisabled() {
return getBooleanProperty("unsubscribeWhenNotificationsDisabled", s.INSTANCE);
}
public final boolean getUseIdentityVerification() {
return getBooleanProperty("useIdentityVerification", t.INSTANCE);
}
public final boolean getUserRejectedGMSUpdate() {
return getBooleanProperty("userRejectedGMSUpdate", u.INSTANCE);
}
public final boolean isInitializedWithRemote() {
return getBooleanProperty("isInitializedWithRemote", k.INSTANCE);
}
public final void setApiUrl(String str) {
ti.j.f(str, q2.h.X);
com.onesignal.common.modeling.g.setStringProperty$default(this, "apiUrl", str, null, false, 12, null);
}
public final void setAppId(String str) {
ti.j.f(str, q2.h.X);
com.onesignal.common.modeling.g.setStringProperty$default(this, "appId", str, null, false, 12, null);
}
public final void setClearGroupOnSummaryClick(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "clearGroupOnSummaryClick", z10, null, false, 12, null);
}
public final void setConsentGiven(Boolean bool) {
com.onesignal.common.modeling.g.setOptBooleanProperty$default(this, "consentGiven", bool, null, false, 12, null);
}
public final void setConsentRequired(Boolean bool) {
com.onesignal.common.modeling.g.setOptBooleanProperty$default(this, "consentRequired", bool, null, false, 12, null);
}
public final void setDisableGMSMissingPrompt(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "disableGMSMissingPrompt", z10, null, false, 12, null);
}
public final void setEnterprise(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "enterprise", z10, null, false, 12, null);
}
public final void setFetchIAMMinInterval(long j4) {
com.onesignal.common.modeling.g.setLongProperty$default(this, "fetchIAMMinInterval", j4, null, false, 12, null);
}
public final void setFirebaseAnalytics(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "firebaseAnalytics", z10, null, false, 12, null);
}
public final void setGoogleProjectNumber(String str) {
com.onesignal.common.modeling.g.setOptStringProperty$default(this, "googleProjectNumber", str, null, false, 12, null);
}
public final void setHttpGetTimeout(int i10) {
com.onesignal.common.modeling.g.setIntProperty$default(this, "httpGetTimeout", i10, null, false, 12, null);
}
public final void setHttpTimeout(int i10) {
com.onesignal.common.modeling.g.setIntProperty$default(this, "httpTimeout", i10, null, false, 12, null);
}
public final void setInitializedWithRemote(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "isInitializedWithRemote", z10, null, false, 12, null);
}
public final void setLocationShared(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "locationShared", z10, null, false, 12, null);
}
public final void setNotificationChannels(JSONArray jSONArray) {
String str;
if (jSONArray != null) {
str = jSONArray.toString();
} else {
str = null;
}
com.onesignal.common.modeling.g.setOptStringProperty$default(this, "notificationChannels", str, null, false, 12, null);
}
public final void setOpRepoExecutionInterval(long j4) {
com.onesignal.common.modeling.g.setLongProperty$default(this, "opRepoExecutionInterval", j4, null, false, 12, null);
}
public final void setOpRepoPostWakeDelay(long j4) {
com.onesignal.common.modeling.g.setLongProperty$default(this, "opRepoPostWakeDelay", j4, null, false, 12, null);
}
public final void setPushSubscriptionId(String str) {
com.onesignal.common.modeling.g.setOptStringProperty$default(this, "pushSubscriptionId", str, null, false, 12, null);
}
public final void setReceiveReceiptEnabled(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "receiveReceiptEnabled", z10, null, false, 12, null);
}
public final void setRestoreTTLFilter(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "restoreTTLFilter", z10, null, false, 12, null);
}
public final void setSessionFocusTimeout(long j4) {
com.onesignal.common.modeling.g.setLongProperty$default(this, "sessionFocusTimeout", j4, null, false, 12, null);
}
public final void setUnsubscribeWhenNotificationsDisabled(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "unsubscribeWhenNotificationsDisabled", z10, null, false, 12, null);
}
public final void setUseIdentityVerification(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "useIdentityVerification", z10, null, false, 12, null);
}
public final void setUserRejectedGMSUpdate(boolean z10) {
com.onesignal.common.modeling.g.setBooleanProperty$default(this, "userRejectedGMSUpdate", z10, null, false, 12, null);
}
}