导航菜单

页面标题

页面副标题

Cantique de Louanges v12 - AnalyticsConfig.java 源代码

正在查看: Cantique de Louanges v12 应用的 AnalyticsConfig.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.startapp.sdk.adsbase.remoteconfig;

import androidx.annotation.Nullable;
import com.startapp.json.TypeInfo;
import com.startapp.sdk.internal.gj;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.WeakHashMap;
import java.util.concurrent.TimeUnit;

public class AnalyticsConfig implements Serializable {
    private static final String a = "https://infoevent.startappservice.com/tracking/infoEvent";
    private static final long serialVersionUID = -1642999941036954496L;

    @Nullable
    @TypeInfo(complex = true)
    private AdCallbacksConfig adCallbacks;

    @Nullable
    @TypeInfo(type = ArrayList.class)
    private List<String> admHeaders;
    private double admPrb;

    @Nullable
    @TypeInfo(type = HashMap.class, value = AnalyticsCategoryConfig.class)
    private Map<String, AnalyticsCategoryConfig> categories;
    private boolean dns;
    private int fuIef;

    @Nullable
    private String hostPeriodic;

    @Nullable
    private String hostSecured;

    @Nullable
    private String noNetworkTimeout;
    private int retryNum;
    private int retryTime;

    @Nullable
    @TypeInfo(complex = true)
    private ComponentInfoEventConfig scheduledImpressionInfoEvents;
    private boolean sendHopsOnFirstSucceededSmartRedirect;
    private boolean sendViewabilityInfo;
    private float succeededSmartRedirectInfoProbability;

    public AnalyticsConfig() {
        String str = a;
        this.hostSecured = str;
        this.hostPeriodic = str;
        this.dns = false;
        this.retryNum = 3;
        this.retryTime = 10;
        this.succeededSmartRedirectInfoProbability = 0.01f;
        this.sendHopsOnFirstSucceededSmartRedirect = false;
        this.adCallbacks = new AdCallbacksConfig();
        this.sendViewabilityInfo = false;
        this.admPrb = 0.0d;
        this.admHeaders = Collections.singletonList("Server-Timing");
        this.scheduledImpressionInfoEvents = null;
    }

    public final AdCallbacksConfig a() {
        return this.adCallbacks;
    }

    public final List b() {
        return this.admHeaders;
    }

    public final double c() {
        return this.admPrb;
    }

    public final Map d() {
        return this.categories;
    }

    public final int e() {
        return this.fuIef;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        AnalyticsConfig analyticsConfig = (AnalyticsConfig) obj;
        return this.dns == analyticsConfig.dns && this.retryNum == analyticsConfig.retryNum && this.retryTime == analyticsConfig.retryTime && Float.compare(this.succeededSmartRedirectInfoProbability, analyticsConfig.succeededSmartRedirectInfoProbability) == 0 && this.sendHopsOnFirstSucceededSmartRedirect == analyticsConfig.sendHopsOnFirstSucceededSmartRedirect && this.sendViewabilityInfo == analyticsConfig.sendViewabilityInfo && Double.compare(this.admPrb, analyticsConfig.admPrb) == 0 && this.fuIef == analyticsConfig.fuIef && gj.a((Object) this.hostSecured, (Object) analyticsConfig.hostSecured) && gj.a((Object) this.hostPeriodic, (Object) analyticsConfig.hostPeriodic) && gj.a((Object) this.noNetworkTimeout, (Object) analyticsConfig.noNetworkTimeout) && gj.a(this.categories, analyticsConfig.categories) && gj.a((Object) this.adCallbacks, (Object) analyticsConfig.adCallbacks) && gj.a(this.admHeaders, analyticsConfig.admHeaders) && gj.a((Object) this.scheduledImpressionInfoEvents, (Object) analyticsConfig.scheduledImpressionInfoEvents);
    }

    public final String f() {
        String str = this.hostSecured;
        return str != null ? str : a;
    }

    public final String g() {
        String str = this.hostPeriodic;
        return str != null ? str : a;
    }

    public final String h() {
        return this.noNetworkTimeout;
    }

    public final int hashCode() {
        Object[] objArr = {this.hostSecured, this.hostPeriodic, Boolean.valueOf(this.dns), Integer.valueOf(this.retryNum), Integer.valueOf(this.retryTime), Float.valueOf(this.succeededSmartRedirectInfoProbability), Boolean.valueOf(this.sendHopsOnFirstSucceededSmartRedirect), this.noNetworkTimeout, this.categories, this.adCallbacks, Boolean.valueOf(this.sendViewabilityInfo), Double.valueOf(this.admPrb), this.admHeaders, Integer.valueOf(this.fuIef), this.scheduledImpressionInfoEvents};
        WeakHashMap weakHashMap = gj.a;
        return Arrays.deepHashCode(objArr);
    }

    public final int i() {
        return this.retryNum;
    }

    public final long j() {
        return TimeUnit.SECONDS.toMillis(this.retryTime);
    }

    public final ComponentInfoEventConfig k() {
        return this.scheduledImpressionInfoEvents;
    }

    public final float l() {
        return this.succeededSmartRedirectInfoProbability;
    }

    public final boolean m() {
        return this.dns;
    }

    public final boolean n() {
        return this.sendHopsOnFirstSucceededSmartRedirect;
    }

    public final boolean o() {
        return this.sendViewabilityInfo;
    }
}