Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 AdConfig.java 源代码,内容仅作参考
package com.inmobi.commons.core.configs;
import android.graphics.Color;
import android.text.TextUtils;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import com.inmobi.commons.utils.json.Constructor;
import com.inmobi.media.i4;
import com.inmobi.media.i7;
import com.inmobi.media.l2;
import com.inmobi.media.p6;
import com.inmobi.media.sb;
import com.inmobi.media.tb;
import com.inmobi.unification.sdk.model.Initialization.TimeoutConfigurations;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.collections.EmptyList;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.d;
import myobfuscated.jk2.o;
import org.jetbrains.annotations.NotNull;
import org.json.JSONObject;
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0084\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0010%\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u001d\b\u0007\u0018\u0000 m2\u00020\u0001:\u0014nopqrstuvwxyz{|}~\u007f\u0080\u0001B\u0011\u0012\b\u0010k\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\bl\u0010\u001bJ\b\u0010\u0003\u001a\u00020\u0002H\u0016J\b\u0010\u0005\u001a\u00020\u0004H\u0016J\b\u0010\u0007\u001a\u00020\u0006H\u0016J\u0006\u0010\t\u001a\u00020\bJ\u000e\u0010\f\u001a\u00020\u000b2\u0006\u0010\n\u001a\u00020\u0002J\u0006\u0010\u000e\u001a\u00020\rJ\u0006\u0010\u0010\u001a\u00020\u000fJ\u0006\u0010\u0012\u001a\u00020\u0011J\u0006\u0010\u0013\u001a\u00020\u0006R\u0016\u0010\u0014\u001a\u00020\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0014\u0010\u0015R\"\u0010\u0016\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0016\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019\"\u0004\b\u001a\u0010\u001bR\"\u0010\u001c\u001a\u00020\b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u001c\u0010\u0015\u001a\u0004\b\u001d\u0010\u001e\"\u0004\b\u001f\u0010 R\"\u0010!\u001a\u00020\b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b!\u0010\u0015\u001a\u0004\b\"\u0010\u001e\"\u0004\b#\u0010 R\u0016\u0010$\u001a\u00020\u00068\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b$\u0010%R$\u0010'\u001a\u00020\u00062\u0006\u0010&\u001a\u00020\u00068\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b'\u0010%\u001a\u0004\b(\u0010)R\"\u0010+\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u000b0*8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b+\u0010,R\u0016\u0010-\u001a\u00020\r8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b-\u0010.R\"\u00100\u001a\u00020/8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b0\u00101\u001a\u0004\b2\u00103\"\u0004\b4\u00105R\u0016\u00106\u001a\u00020\u000f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b6\u00107R\"\u00109\u001a\u0002088\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b9\u0010:\u001a\u0004\b;\u0010<\"\u0004\b=\u0010>R\"\u0010@\u001a\u00020?8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b@\u0010A\u001a\u0004\bB\u0010C\"\u0004\bD\u0010ER\"\u0010G\u001a\u00020F8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\bG\u0010H\u001a\u0004\bI\u0010J\"\u0004\bK\u0010LR\"\u0010N\u001a\u00020M8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\bN\u0010O\u001a\u0004\bP\u0010Q\"\u0004\bR\u0010SR\"\u0010U\u001a\u00020T8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\bU\u0010V\u001a\u0004\bW\u0010X\"\u0004\bY\u0010ZR\"\u0010\\\u001a\u00020[8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\\\u0010]\u001a\u0004\b^\u0010_\"\u0004\b`\u0010aR\u0016\u0010b\u001a\u00020\u00118\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bb\u0010cR\"\u0010e\u001a\u00020d8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\be\u0010f\u001a\u0004\bg\u0010h\"\u0004\bi\u0010j¨\u0006\u0081\u0001"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig;", "Lcom/inmobi/commons/core/configs/Config;", "", "getType", "Lorg/json/JSONObject;", "toJson", "", "isValid", "", "getMaxPoolSize", "adType", "Lcom/inmobi/commons/core/configs/AdConfig$CacheConfig;", "getCacheConfig", "Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "getImaiConfig", "Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "getMraidConfig", "Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "getAssetCacheConfig", "isCCTEnabled", "maxPoolSize", "I", "url", "Ljava/lang/String;", "getUrl", "()Ljava/lang/String;", "setUrl", "(Ljava/lang/String;)V", "minimumRefreshInterval", "getMinimumRefreshInterval", "()I", "setMinimumRefreshInterval", "(I)V", "defaultRefreshInterval", "getDefaultRefreshInterval", "setDefaultRefreshInterval", "cctEnabled", "Z", "<set-?>", "watermarkEnabled", "getWatermarkEnabled", "()Z", "", "cache", "Ljava/util/Map;", "imai", "Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "rendering", "Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "getRendering", "()Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "setRendering", "(Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;)V", "mraid", "Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "viewability", "Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "getViewability", "()Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "setViewability", "(Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "contextualData", "Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "getContextualData", "()Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "setContextualData", "(Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "adQuality", "Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "getAdQuality", "()Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "setAdQuality", "(Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$AdReportConfig;", "adReport", "Lcom/inmobi/commons/core/configs/AdConfig$AdReportConfig;", "getAdReport", "()Lcom/inmobi/commons/core/configs/AdConfig$AdReportConfig;", "setAdReport", "(Lcom/inmobi/commons/core/configs/AdConfig$AdReportConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "audio", "Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "getAudio", "()Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "setAudio", "(Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "vastVideo", "Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "getVastVideo", "()Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "setVastVideo", "(Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;)V", "assetCache", "Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "timeouts", "Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "getTimeouts", "()Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "setTimeouts", "(Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;)V", "accountId", "<init>", "Companion", "AdQualityConfig", "AdReportConfig", "AssetCacheConfig", "AudioConfig", "AudioViewabilityConfig", "BannerImpressionTypeConfig", "BitRateConfig", "CacheConfig", com.inmobi.commons.core.configs.a.d, "ContextualDataConfig", "ImaiConfig", "InterstitialImpressionTypeConfig", "MraidConfig", "OmidConfig", "RenderingConfig", "VastVideoConfig", "VideoViewabilityConfig", "ViewabilityConfig", "WebViewabilityConfig", "media_release"}, k = 1, mv = {1, 5, 1})
public final class AdConfig extends Config {
@NotNull
private static final String ALLOWED_CONTENT_TYPE = "allowedContentType";
public static final long DEFAULT_AD_LOAD_RETRY_INTERVAL = 1000;
public static final boolean DEFAULT_AD_QUALITY_KILL_SWITCH = true;
public static final int DEFAULT_AD_QUALITY_MAX_IMAGE_SIZE = 153600;
public static final int DEFAULT_AD_QUALITY_MAX_RETRIES = 3;
public static final int DEFAULT_AD_QUALITY_RESIZE_PERCENTAGE = 100;
public static final int DEFAULT_AD_QUALITY_RETRY_INTERVAL = 5000;
public static final boolean DEFAULT_AD_REPORT_KILL_SWITCH = true;
public static final int DEFAULT_AD_REPORT_LIST_SIZE = 10;
@NotNull
public static final String DEFAULT_AD_SERVER_URL = "https://ads.inmobi.com/sdk";
public static final boolean DEFAULT_CCT_ENABLED = false;
public static final int DEFAULT_CONTEXTUAL_DATA_EXPIRY_TIME = 86400;
public static final int DEFAULT_CONTEXTUAL_DATA_MAX_RECORDS = 1;
public static final int DEFAULT_MAX_POOL_SIZE = 10;
public static final int DEFAULT_MINIMUM_AUDIO_REFRESH_INTERVAL = 20;
public static final int DEFAULT_MINIMUM_REFRESH_INTERVAL = 20;
public static final int DEFAULT_MIN_VOLUME_AUDIO_REQUEST = 30;
public static final short DEFAULT_NETWORK_LOAD_LIMIT = 50;
public static final int DEFAULT_REFRESH_INTERVAL = 60;
public static final int DEFAULT_TOUCH_RESET_TIME = 4;
public static final boolean DEFAULT_WATERMARK_KILL_SWITCH = true;
@NotNull
private static final String GESTURE_LIST = "gestures";
public static final int MIN_IMPRESSION_POLL_INTERVAL_MILLIS = 50;
public static final int MIN_VISIBILITY_THROTTLE_INTERVAL_MILLIS = 50;
public static final byte NETWORK_LOAD_LIMIT_DISABLED = -1;
@NotNull
private static final String SKIP_FIELDS = "skipFields";
@NotNull
private AdQualityConfig adQuality;
@NotNull
private AdReportConfig adReport;
@NotNull
private AssetCacheConfig assetCache;
@NotNull
private AudioConfig audio;
@NotNull
private Map<String, CacheConfig> cache;
private boolean cctEnabled;
@NotNull
private ContextualDataConfig contextualData;
private int defaultRefreshInterval;
@NotNull
private ImaiConfig imai;
private int maxPoolSize;
private int minimumRefreshInterval;
@NotNull
private MraidConfig mraid;
@NotNull
private RenderingConfig rendering;
@NotNull
private TimeoutConfigurations timeouts;
@NotNull
private String url;
@NotNull
private VastVideoConfig vastVideo;
@NotNull
private ViewabilityConfig viewability;
private boolean watermarkEnabled;
@NotNull
public static final a Companion = new a();
@NotNull
private static final List<String> DEFAULT_CONTEXTUAL_DATA_SKIP_FIELDS = EmptyList.INSTANCE;
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0014\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0019\u0010\u001aJ\u0006\u0010\u0003\u001a\u00020\u0002J\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0002H\u0007J\u0010\u0010\t\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u0007H\u0007R$\u0010\u000b\u001a\u00020\u00022\u0006\u0010\n\u001a\u00020\u00028\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000eR$\u0010\u000f\u001a\u00020\u00072\u0006\u0010\n\u001a\u00020\u00078\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u000f\u0010\u0010\u001a\u0004\b\u0011\u0010\u0012R$\u0010\u0013\u001a\u00020\u00072\u0006\u0010\n\u001a\u00020\u00078\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0013\u0010\u0010\u001a\u0004\b\u0014\u0010\u0012R$\u0010\u0015\u001a\u00020\u00072\u0006\u0010\n\u001a\u00020\u00078\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0015\u0010\u0010\u001a\u0004\b\u0016\u0010\u0012R\u001c\u0010\u0017\u001a\u00020\u00078\u0006@\u0006X\u0086D¢\u0006\f\n\u0004\b\u0017\u0010\u0010\u001a\u0004\b\u0018\u0010\u0012¨\u0006\u001b"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "", "", "isValid", "enable", "", "setEnableAdQuality", "", "size", "setMaxImageSize", "<set-?>", "enabled", "Z", "getEnabled", "()Z", "maxRetries", "I", "getMaxRetries", "()I", "retryInterval", "getRetryInterval", "maxImageSize", "getMaxImageSize", "resizedPercentage", "getResizedPercentage", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AdQualityConfig {
private boolean enabled = true;
private int maxRetries = 3;
private int retryInterval = AdConfig.DEFAULT_AD_QUALITY_RETRY_INTERVAL;
private int maxImageSize = AdConfig.DEFAULT_AD_QUALITY_MAX_IMAGE_SIZE;
private final int resizedPercentage = 100;
public final boolean getEnabled() {
return this.enabled;
}
public final int getMaxImageSize() {
return this.maxImageSize;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getResizedPercentage() {
return this.resizedPercentage;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final boolean isValid() {
return this.maxRetries >= 0 && this.retryInterval >= 0 && this.maxImageSize >= 1 && this.resizedPercentage <= 100;
}
public final void setEnableAdQuality(boolean z) {
this.enabled = z;
}
public final void setMaxImageSize(int i) {
this.maxImageSize = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0010\u0010\u0011R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\n\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000f¨\u0006\u0012"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AdReportConfig;", "", "", "enabled", "Z", "getEnabled", "()Z", "setEnabled", "(Z)V", "", "cridls", "I", "getCridls", "()I", "setCridls", "(I)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AdReportConfig {
private boolean enabled = true;
private int cridls = 10;
public final int getCridls() {
return this.cridls;
}
public final boolean getEnabled() {
return this.enabled;
}
public final void setCridls(int i) {
this.cridls = i;
}
public final void setEnabled(boolean z) {
this.enabled = z;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\n\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0010\u0010\u0011J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0004\u001a\u00020\u0002J\u0006\u0010\u0006\u001a\u00020\u0005J\u0006\u0010\u0007\u001a\u00020\u0005J\u0006\u0010\t\u001a\u00020\bR\u0016\u0010\n\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\n\u0010\u000bR\u0016\u0010\f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\f\u0010\u000bR\u0016\u0010\r\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u000e¨\u0006\u0012"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "", "", "getMaxRetries", "getRetryInterval", "", "getTimeToLive", "getMaxCacheSize", "", "isValid", "maxRetries", "I", "retryInterval", "maxCacheSize", "J", "timeToLive", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AssetCacheConfig {
private int maxRetries = 3;
private int retryInterval = 1;
private long maxCacheSize = 104857600;
private long timeToLive = CrashConfig.DEFAULT_EVENT_TTL_SEC;
public final long getMaxCacheSize() {
return this.maxCacheSize;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final long getTimeToLive() {
return this.timeToLive;
}
public final boolean isValid() {
return getRetryInterval() >= 0 && getTimeToLive() >= 0 && getMaxCacheSize() >= 0 && getMaxRetries() >= 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0014\u0010\u0015J\u0006\u0010\u0003\u001a\u00020\u0002R*\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u00028\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0005\u0010\u0007\"\u0004\b\b\u0010\tR*\u0010\u000b\u001a\u00020\n2\u0006\u0010\u0004\u001a\u00020\n8\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000e\"\u0004\b\u000f\u0010\u0010R*\u0010\u0011\u001a\u00020\n2\u0006\u0010\u0004\u001a\u00020\n8\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u0011\u0010\f\u001a\u0004\b\u0012\u0010\u000e\"\u0004\b\u0013\u0010\u0010¨\u0006\u0016"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "", "", "isValid", "<set-?>", "isAudioEnabled", "Z", "()Z", "setAudioEnabled", "(Z)V", "", "minDeviceVolume", "I", "getMinDeviceVolume", "()I", "setMinDeviceVolume", "(I)V", "minRefreshInterval", "getMinRefreshInterval", "setMinRefreshInterval", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AudioConfig {
private boolean isAudioEnabled = true;
private int minDeviceVolume = 30;
private int minRefreshInterval = 20;
public final int getMinDeviceVolume() {
return this.minDeviceVolume;
}
public final int getMinRefreshInterval() {
return this.minRefreshInterval;
}
public final boolean isAudioEnabled() {
return this.isAudioEnabled;
}
public final boolean isValid() {
return this.minDeviceVolume > 0 && this.minRefreshInterval > 0;
}
public final void setAudioEnabled(boolean z) {
this.isAudioEnabled = z;
}
public final void setMinDeviceVolume(int i) {
this.minDeviceVolume = i;
}
public final void setMinRefreshInterval(int i) {
this.minRefreshInterval = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0013\u0010\u0014R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\n\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\"\u0010\u0010\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0010\u0010\u000b\u001a\u0004\b\u0011\u0010\r\"\u0004\b\u0012\u0010\u000f¨\u0006\u0015"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "", "impressionMinPercentageViewed", "I", "getImpressionMinPercentageViewed", "()I", "setImpressionMinPercentageViewed", "(I)V", "impressionMinTimeViewed", "getImpressionMinTimeViewed", "setImpressionMinTimeViewed", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AudioViewabilityConfig {
private byte impressionType = 1;
private int impressionMinPercentageViewed = 90;
private int impressionMinTimeViewed = 2000;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setImpressionType(byte b) {
this.impressionType = b;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\t\u0010\nR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class BannerImpressionTypeConfig {
private byte impressionType;
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionType(byte b) {
this.impressionType = b;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\n\u0010\u000bJ\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0004R\u0016\u0010\u0006\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0006\u0010\u0007R\u0016\u0010\b\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\b\u0010\t¨\u0006\f"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "", "", "isBitRateMandatory", "", "getHeaderTimeout", "bitrate_mandatory", "Z", "headerTimeout", "I", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class BitRateConfig {
private boolean bitrate_mandatory;
private int headerTimeout = 2000;
public final int getHeaderTimeout() {
return this.headerTimeout;
}
public final boolean isBitRateMandatory() {
return this.bitrate_mandatory;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\t\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000b\u0010\fJ\u0006\u0010\u0003\u001a\u00020\u0002R\"\u0010\u0005\u001a\u00020\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\n¨\u0006\r"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$CacheConfig;", "", "", "isValid", "", "timeToLive", "J", "getTimeToLive", "()J", "setTimeToLive", "(J)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class CacheConfig {
private long timeToLive = 3300;
public final long getTimeToLive() {
return this.timeToLive;
}
public final boolean isValid() {
return this.timeToLive >= 0;
}
public final void setTimeToLive(long j) {
this.timeToLive = j;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0012\u0010\u0013J\u0006\u0010\u0003\u001a\u00020\u0002R$\u0010\u0006\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00048\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0006\u0010\u0007\u001a\u0004\b\b\u0010\tR0\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000b0\n2\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u000b0\n8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\f\u0010\r\u001a\u0004\b\u000e\u0010\u000fR$\u0010\u0010\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00048\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0010\u0010\u0007\u001a\u0004\b\u0011\u0010\t¨\u0006\u0014"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "", "", "isValid", "", "<set-?>", "maxAdRecords", "I", "getMaxAdRecords", "()I", "", "", AdConfig.SKIP_FIELDS, "Ljava/util/List;", "getSkipFields", "()Ljava/util/List;", "expiryTime", "getExpiryTime", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ContextualDataConfig {
private int maxAdRecords = 1;
@NotNull
private List<String> skipFields = AdConfig.Companion.b();
private int expiryTime = AdConfig.DEFAULT_CONTEXTUAL_DATA_EXPIRY_TIME;
public final int getExpiryTime() {
return this.expiryTime;
}
public final int getMaxAdRecords() {
return this.maxAdRecords;
}
@NotNull
public final List<String> getSkipFields() {
return this.skipFields;
}
public final boolean isValid() {
return this.maxAdRecords >= 0 && this.expiryTime >= 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0014\u0010\u0015J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0004\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0002J\u0006\u0010\u0006\u001a\u00020\u0002J\u0006\u0010\u0007\u001a\u00020\u0002J\u0006\u0010\t\u001a\u00020\bJ\u0006\u0010\u000b\u001a\u00020\nR\u0016\u0010\f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\f\u0010\rR\u0016\u0010\u000e\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000e\u0010\rR\u0016\u0010\u000f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\rR\u0016\u0010\u0010\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\rR\u0016\u0010\u0011\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0011\u0010\rR\u0016\u0010\u0012\u001a\u00020\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u0013¨\u0006\u0016"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "", "", "getMaxRetries", "getPingInterval", "getPingTimeout", "getMaxDbEvents", "getMaxEventBatch", "", "getPingCacheExpiry", "", "isValid", "maxRetries", "I", "pingInterval", "pingTimeout", "maxDbEvents", "maxEventBatch", "pingCacheExpiry", "J", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ImaiConfig {
private int maxRetries = 3;
private int pingInterval = 60;
private int pingTimeout = 120;
private int maxDbEvents = 500;
private int maxEventBatch = 10;
private long pingCacheExpiry = 10800;
public final int getMaxDbEvents() {
return this.maxDbEvents;
}
public final int getMaxEventBatch() {
return this.maxEventBatch;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final long getPingCacheExpiry() {
return this.pingCacheExpiry;
}
public final int getPingInterval() {
return this.pingInterval;
}
public final int getPingTimeout() {
return this.pingTimeout;
}
public final boolean isValid() {
return getMaxDbEvents() >= 0 && getMaxEventBatch() >= 0 && getMaxRetries() >= 0 && getPingInterval() >= 0 && getPingTimeout() > 0 && getPingCacheExpiry() > 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\t\u0010\nR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class InterstitialImpressionTypeConfig {
private byte impressionType = 1;
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionType(byte b) {
this.impressionType = b;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u000b\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0012\u0010\u0013J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0004J\u0006\u0010\u0006\u001a\u00020\u0004J\u0006\u0010\b\u001a\u00020\u0007J\u0006\u0010\n\u001a\u00020\tR\u0016\u0010\u000b\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000b\u0010\fR\u0016\u0010\r\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u000eR\u0016\u0010\u0010\u001a\u00020\u00078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011¨\u0006\u0014"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "", "", "getExpiry", "", "getMaxRetries", "getRetryInterval", "", "getUrl", "", "isValid", "expiry", "J", "maxRetries", "I", "retryInterval", "url", "Ljava/lang/String;", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class MraidConfig {
private long expiry = 432000;
private int maxRetries = 3;
private int retryInterval = 60;
@NotNull
private String url = "https://supply.inmobicdn.net/sdk/sdk/1064/android/mraid.js";
public final long getExpiry() {
return this.expiry;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getRetryInterval() {
return this.retryInterval;
}
@NotNull
public final String getUrl() {
return this.url;
}
public final boolean isValid() {
return getExpiry() >= 0 && getRetryInterval() >= 0 && getMaxRetries() >= 0 && !i4.a(this.url);
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0015\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u001d\u0010\u001eJ\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0004J\u0006\u0010\u0007\u001a\u00020\u0006J\u0006\u0010\b\u001a\u00020\u0006J\b\u0010\t\u001a\u0004\u0018\u00010\u0002J\u0006\u0010\u000b\u001a\u00020\nJ\u0006\u0010\f\u001a\u00020\u0004J\u0006\u0010\r\u001a\u00020\nR\u0016\u0010\u000e\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000e\u0010\u000fR\u0016\u0010\u0010\u001a\u00020\u00068\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0016\u0010\u0012\u001a\u00020\u00068\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u0011R\u0016\u0010\u0013\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u0016\u0010\u0015\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0014R\"\u0010\u0016\u001a\u00020\n8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0016\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019\"\u0004\b\u001a\u0010\u001bR\u0016\u0010\u001c\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u000f¨\u0006\u001f"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "", "", "getPartnerKey", "", "getExpiry", "", "getMaxRetries", "getRetryInterval", "getUrl", "", "isOmidEnabled", "getWebViewRetainTime", "isValid", "expiry", "J", "maxRetries", "I", "retryInterval", "partnerKey", "Ljava/lang/String;", "url", "omidEnabled", "Z", "getOmidEnabled", "()Z", "setOmidEnabled", "(Z)V", "webViewRetainTime", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class OmidConfig {
private long expiry = 432000;
private int maxRetries = 3;
private int retryInterval = 60;
@NotNull
private String partnerKey = "Inmobi";
@NotNull
private String url = "https://supply.inmobicdn.net/javascript/1.3.37/omsdk-service.js";
private boolean omidEnabled = true;
private long webViewRetainTime = 1000;
public final long getExpiry() {
return this.expiry;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final boolean getOmidEnabled() {
return this.omidEnabled;
}
@NotNull
public final String getPartnerKey() {
return this.partnerKey;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final String getUrl() {
return this.url;
}
public final long getWebViewRetainTime() {
return this.webViewRetainTime;
}
public final boolean isOmidEnabled() {
return this.omidEnabled;
}
public final boolean isValid() {
String url;
String obj;
return getMaxRetries() >= 0 && getRetryInterval() >= 0 && (url = getUrl()) != null && (obj = d.h0(url).toString()) != null && l2.a(obj) && !TextUtils.isEmpty(getPartnerKey());
}
public final void setOmidEnabled(boolean z) {
this.omidEnabled = z;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0010\n\u0002\u0010!\n\u0002\b\u0005\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b$\u0010%J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0004\u001a\u00020\u0002J\u0006\u0010\u0006\u001a\u00020\u0005J\u0006\u0010\b\u001a\u00020\u0007J\u0006\u0010\t\u001a\u00020\u0005J\u0006\u0010\n\u001a\u00020\u0002J\u0006\u0010\u000b\u001a\u00020\u0002J\u0006\u0010\f\u001a\u00020\u0002J\f\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u00020\rJ\u0006\u0010\u000f\u001a\u00020\u0005R\u0016\u0010\u0011\u001a\u00020\u00108\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0013\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u0016\u0010\u0015\u001a\u00020\u00078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016R\u0016\u0010\t\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\t\u0010\u0014R$\u0010\u0018\u001a\u00020\u00052\u0006\u0010\u0017\u001a\u00020\u00058\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0018\u0010\u0014\u001a\u0004\b\u0019\u0010\u001aR$\u0010\u001b\u001a\u00020\u00052\u0006\u0010\u0017\u001a\u00020\u00058\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u001b\u0010\u0014\u001a\u0004\b\u001c\u0010\u001aR\u0016\u0010\u001d\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001d\u0010\u001eR\u0016\u0010\u001f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001f\u0010\u001eR\u0016\u0010 \u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b \u0010\u001eR\u001c\u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020!8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\"\u0010#¨\u0006&"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "", "", "parseColor", "getWebviewBackgroundColor", "", "getAutoRedirectionEnforcement", "", "getUserTouchResetTime", "shouldRenderPopup", "getBannerNetworkLoadsLimit", "getAudioNetworkLoadsLimit", "getOtherNetworkLoadsLimit", "", "getSupportedGestures", "isValid", "", "webviewBackground", "Ljava/lang/String;", "autoRedirectionEnforcement", "Z", "userTouchResetTime", "J", "<set-?>", "enablePubMuteControl", "getEnablePubMuteControl", "()Z", "enableDomStorage", "getEnableDomStorage", "bannerNetworkLoadsLimit", "I", "audioNetworkLoadsLimit", "otherNetworkLoadsLimit", "", AdConfig.GESTURE_LIST, "Ljava/util/List;", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class RenderingConfig {
private boolean enableDomStorage;
private boolean enablePubMuteControl;
private boolean shouldRenderPopup;
@NotNull
private String webviewBackground = "#00000000";
private boolean autoRedirectionEnforcement = true;
private long userTouchResetTime = 4;
private int bannerNetworkLoadsLimit = 50;
private int audioNetworkLoadsLimit = 50;
private int otherNetworkLoadsLimit = -1;
@NotNull
private List<Integer> gestures = o.j(0, 1, 2, 3, 4, 5);
public final int getAudioNetworkLoadsLimit() {
return this.audioNetworkLoadsLimit;
}
public final boolean getAutoRedirectionEnforcement() {
return this.autoRedirectionEnforcement;
}
public final int getBannerNetworkLoadsLimit() {
return this.bannerNetworkLoadsLimit;
}
public final boolean getEnableDomStorage() {
return this.enableDomStorage;
}
public final boolean getEnablePubMuteControl() {
return this.enablePubMuteControl;
}
public final int getOtherNetworkLoadsLimit() {
return this.otherNetworkLoadsLimit;
}
@NotNull
public final List<Integer> getSupportedGestures() {
return this.gestures;
}
public final long getUserTouchResetTime() {
return this.userTouchResetTime * 1000;
}
public final int getWebviewBackgroundColor() {
try {
return parseColor();
} catch (IllegalArgumentException unused) {
return Color.parseColor("#00000000");
}
}
public final boolean isValid() {
String obj;
String str = this.webviewBackground;
if (str != null && (((obj = d.h0(str).toString()) == null || obj.length() != 0) && getUserTouchResetTime() >= 0 && !getSupportedGestures().isEmpty())) {
try {
parseColor();
return true;
} catch (IllegalArgumentException unused) {
}
}
return false;
}
public final int parseColor() throws IllegalArgumentException {
return Color.parseColor(this.webviewBackground);
}
public final boolean shouldRenderPopup() {
return this.shouldRenderPopup;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\r\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0017\u0010\u0018J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0004J\u0006\u0010\u0006\u001a\u00020\u0004J\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\b0\u0007J\u0006\u0010\u000b\u001a\u00020\nJ\u0006\u0010\r\u001a\u00020\fR\u0016\u0010\u000e\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000e\u0010\u000fR\u0016\u0010\u0010\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0016\u0010\u0012\u001a\u00020\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u0011R\u0016\u0010\u0013\u001a\u00020\n8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u001c\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\b0\u00078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016¨\u0006\u0019"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "", "", "getMaxWrapperLimit", "", "getOptimalVastVideoSize", "getVastMaxAssetSize", "", "", "getAllowedContentType", "Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "getBitRate", "", "isValid", "maxWrapperLimit", "I", "optimalVastVideoSize", "J", "vastMaxAssetSize", "bitRate", "Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", AdConfig.ALLOWED_CONTENT_TYPE, "Ljava/util/List;", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class VastVideoConfig {
private int maxWrapperLimit = 3;
private long optimalVastVideoSize = 3145728;
private long vastMaxAssetSize = 31457280;
@NotNull
private BitRateConfig bitRate = new BitRateConfig();
@NotNull
private List<String> allowedContentType = o.j("video/mp4", "video/3gp", "video/3gpp", "video/webm", "image/jpeg", "image/jpg", "image/gif", "image/png");
@NotNull
public final List<String> getAllowedContentType() {
return this.allowedContentType;
}
@NotNull
public final BitRateConfig getBitRate() {
return this.bitRate;
}
public final int getMaxWrapperLimit() {
return this.maxWrapperLimit;
}
public final long getOptimalVastVideoSize() {
return this.optimalVastVideoSize;
}
public final long getVastMaxAssetSize() {
return this.vastMaxAssetSize;
}
public final boolean isValid() {
return getOptimalVastVideoSize() <= 31457280 && getOptimalVastVideoSize() > 0 && getMaxWrapperLimit() >= 0 && getVastMaxAssetSize() > 0 && getVastMaxAssetSize() <= 31457280;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u000f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000f\u0010\u0010R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\t\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\u0004\u001a\u0004\b\n\u0010\u0006\"\u0004\b\u000b\u0010\bR\"\u0010\f\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010\u0004\u001a\u0004\b\r\u0010\u0006\"\u0004\b\u000e\u0010\b¨\u0006\u0011"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "", "", "impressionMinPercentageViewed", "I", "getImpressionMinPercentageViewed", "()I", "setImpressionMinPercentageViewed", "(I)V", "impressionMinTimeViewed", "getImpressionMinTimeViewed", "setImpressionMinTimeViewed", "videoMinPercentagePlay", "getVideoMinPercentagePlay", "setVideoMinPercentagePlay", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class VideoViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 2000;
private int videoMinPercentagePlay = 50;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getVideoMinPercentagePlay() {
return this.videoMinPercentagePlay;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setVideoMinPercentagePlay(int i) {
this.videoMinPercentagePlay = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0002\b\t\n\u0002\u0010\u0005\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b5\u00106J\u0006\u0010\u0003\u001a\u00020\u0002J\u0006\u0010\u0004\u001a\u00020\u0002J\u0006\u0010\u0005\u001a\u00020\u0002J\u0006\u0010\u0006\u001a\u00020\u0002J\u0006\u0010\u0007\u001a\u00020\u0002J\u000e\u0010\n\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\u0002J\u0006\u0010\u000b\u001a\u00020\u0002J\u0006\u0010\f\u001a\u00020\u0002J\u0006\u0010\r\u001a\u00020\u0002J\u0006\u0010\u000e\u001a\u00020\u0002J\u0006\u0010\u000f\u001a\u00020\u0002J\u0006\u0010\u0010\u001a\u00020\u0002J\u0006\u0010\u0011\u001a\u00020\u0002J\u0006\u0010\u0012\u001a\u00020\u0002J\u0006\u0010\u0014\u001a\u00020\u0013J\u0006\u0010\u0015\u001a\u00020\u0013J\u0006\u0010\u0016\u001a\u00020\u0013J\u0006\u0010\u0018\u001a\u00020\u0017R\u0016\u0010\u0019\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0019\u0010\u001aR\u0016\u0010\u001b\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001b\u0010\u001aR\u0016\u0010\u001c\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u001aR\u0016\u0010\u001d\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001d\u0010\u001aR\u0016\u0010\u001e\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001e\u0010\u001aR\u0016\u0010 \u001a\u00020\u001f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b \u0010!R\u0016\u0010#\u001a\u00020\"8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b#\u0010$R\u0016\u0010&\u001a\u00020%8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b&\u0010'R\"\u0010)\u001a\u00020(8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b)\u0010*\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.R\u0016\u00100\u001a\u00020/8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b0\u00101R\u0016\u00103\u001a\u0002028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b3\u00104¨\u00067"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "", "", "getImpressionMinPercentageViewed", "getImpressionMinTimeViewed", "getDisplayMinPercentageAnimate", "getVideoImpressionMinPercentageViewed", "getVideoImpressionMinTimeViewed", "videoImpressionMinTimeViewed", "", "setVideoImpressionMinTimeViewed", "getVideoMinPercentagePlay", "getVisibilityThrottleMillis", "getImpressionPollIntervalMillis", "getWebImpressionMinPercentageViewed", "getWebImpressionMinTimeViewed", "getWebVisibilityThrottleMillis", "getAudioImpressionMinPercentageViewed", "getAudioImpressionMinTimeViewed", "", "getBannerImpressionType", "getAudioImpressionType", "getInterstitialImpressionType", "", "isValid", "impressionMinPercentageViewed", "I", "impressionMinTimeViewed", "visibilityThrottleMillis", "impressionPollIntervalMillis", "displayMinPercentageAnimate", "Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "video", "Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "audio", "Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", "web", "Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "omidConfig", "Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "getOmidConfig", "()Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "setOmidConfig", "(Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "banner", "Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "int", "Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 1000;
private int visibilityThrottleMillis = 100;
private int impressionPollIntervalMillis = 250;
private int displayMinPercentageAnimate = 67;
@NotNull
private VideoViewabilityConfig video = new VideoViewabilityConfig();
@NotNull
private AudioViewabilityConfig audio = new AudioViewabilityConfig();
@NotNull
private WebViewabilityConfig web = new WebViewabilityConfig();
@NotNull
private OmidConfig omidConfig = new OmidConfig();
@NotNull
private BannerImpressionTypeConfig banner = new BannerImpressionTypeConfig();
@NotNull
private InterstitialImpressionTypeConfig f18int = new InterstitialImpressionTypeConfig();
public final int getAudioImpressionMinPercentageViewed() {
return this.audio.getImpressionMinPercentageViewed();
}
public final int getAudioImpressionMinTimeViewed() {
return this.audio.getImpressionMinTimeViewed();
}
public final byte getAudioImpressionType() {
return this.audio.getImpressionType();
}
public final byte getBannerImpressionType() {
return this.banner.getImpressionType();
}
public final int getDisplayMinPercentageAnimate() {
return this.displayMinPercentageAnimate;
}
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getImpressionPollIntervalMillis() {
return this.impressionPollIntervalMillis;
}
public final byte getInterstitialImpressionType() {
return this.f18int.getImpressionType();
}
@NotNull
public final OmidConfig getOmidConfig() {
return this.omidConfig;
}
public final int getVideoImpressionMinPercentageViewed() {
return this.video.getImpressionMinPercentageViewed();
}
public final int getVideoImpressionMinTimeViewed() {
return this.video.getImpressionMinTimeViewed();
}
public final int getVideoMinPercentagePlay() {
return this.video.getVideoMinPercentagePlay();
}
public final int getVisibilityThrottleMillis() {
return this.visibilityThrottleMillis;
}
public final int getWebImpressionMinPercentageViewed() {
return this.web.getImpressionMinPercentageViewed();
}
public final int getWebImpressionMinTimeViewed() {
return this.web.getImpressionMinTimeViewed();
}
public final int getWebVisibilityThrottleMillis() {
return this.web.getImpressionPollIntervalMillis();
}
public final boolean isValid() {
return getImpressionMinPercentageViewed() > 0 && getImpressionMinPercentageViewed() <= 100 && getImpressionMinTimeViewed() >= 0 && getDisplayMinPercentageAnimate() > 0 && getDisplayMinPercentageAnimate() <= 100 && getVideoImpressionMinPercentageViewed() > 0 && getVideoImpressionMinPercentageViewed() <= 100 && getWebImpressionMinPercentageViewed() > 0 && getWebImpressionMinPercentageViewed() <= 100 && getWebVisibilityThrottleMillis() > 0 && getWebImpressionMinTimeViewed() >= 0 && getVideoImpressionMinTimeViewed() >= 0 && getVideoMinPercentagePlay() > 0 && getVideoMinPercentagePlay() <= 100 && getVisibilityThrottleMillis() >= 50 && getVisibilityThrottleMillis() * 5 <= getImpressionMinTimeViewed() && getImpressionPollIntervalMillis() >= 50 && getImpressionPollIntervalMillis() * 4 <= getImpressionMinTimeViewed() && this.omidConfig.isValid();
}
public final void setOmidConfig(@NotNull OmidConfig omidConfig) {
Intrinsics.checkNotNullParameter(omidConfig, "<set-?>");
this.omidConfig = omidConfig;
}
public final void setVideoImpressionMinTimeViewed(int i) {
this.video.setImpressionMinTimeViewed(i);
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u000f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000f\u0010\u0010R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\t\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\u0004\u001a\u0004\b\n\u0010\u0006\"\u0004\b\u000b\u0010\bR\"\u0010\f\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010\u0004\u001a\u0004\b\r\u0010\u0006\"\u0004\b\u000e\u0010\b¨\u0006\u0011"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", "", "", "impressionMinPercentageViewed", "I", "getImpressionMinPercentageViewed", "()I", "setImpressionMinPercentageViewed", "(I)V", "impressionMinTimeViewed", "getImpressionMinTimeViewed", "setImpressionMinTimeViewed", "impressionPollIntervalMillis", "getImpressionPollIntervalMillis", "setImpressionPollIntervalMillis", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class WebViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 1000;
private int impressionPollIntervalMillis = 1000;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getImpressionPollIntervalMillis() {
return this.impressionPollIntervalMillis;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setImpressionPollIntervalMillis(int i) {
this.impressionPollIntervalMillis = i;
}
}
public static final class a {
public static final class C0367a implements Constructor<Map<String, ? extends CacheConfig>> {
@Override
public Map<String, ? extends CacheConfig> construct() {
return new LinkedHashMap();
}
}
public static final class b implements Constructor<List<? extends String>> {
@Override
public List<? extends String> construct() {
return new ArrayList();
}
}
public static final class c implements Constructor<List<? extends Integer>> {
@Override
public List<? extends Integer> construct() {
return new ArrayList();
}
}
public static final class d implements Constructor<List<? extends String>> {
@Override
public List<? extends String> construct() {
return new ArrayList();
}
}
@NonNull
@NotNull
public final com.inmobi.commons.utils.json.a<AdConfig> a() {
return new com.inmobi.commons.utils.json.a().a(new tb("cache", AdConfig.class), (sb<?>) new i7(new C0367a(), CacheConfig.class)).a(new tb(AdConfig.ALLOWED_CONTENT_TYPE, VastVideoConfig.class), (sb<?>) new p6(new b(), String.class)).a(new tb(AdConfig.GESTURE_LIST, RenderingConfig.class), (sb<?>) new p6(new c(), Integer.TYPE)).a(new tb(AdConfig.SKIP_FIELDS, ContextualDataConfig.class), (sb<?>) new p6(new d(), String.class));
}
@NotNull
public final List<String> b() {
return AdConfig.DEFAULT_CONTEXTUAL_DATA_SKIP_FIELDS;
}
}
public AdConfig(String str) {
super(str);
this.maxPoolSize = 10;
this.url = DEFAULT_AD_SERVER_URL;
this.minimumRefreshInterval = 20;
this.defaultRefreshInterval = 60;
this.watermarkEnabled = true;
this.timeouts = TimeoutConfigurations.Companion.a();
this.imai = new ImaiConfig();
this.rendering = new RenderingConfig();
this.mraid = new MraidConfig();
this.viewability = new ViewabilityConfig();
this.vastVideo = new VastVideoConfig();
this.assetCache = new AssetCacheConfig();
this.contextualData = new ContextualDataConfig();
this.adQuality = new AdQualityConfig();
this.adReport = new AdReportConfig();
this.audio = new AudioConfig();
this.cache = kotlin.collections.d.j(new Pair("base", new CacheConfig()), new Pair("banner", new CacheConfig()), new Pair("audio", new CacheConfig()), new Pair("int", new CacheConfig()), new Pair("native", new CacheConfig()));
}
@NotNull
public final AdQualityConfig getAdQuality() {
return this.adQuality;
}
@NotNull
public final AdReportConfig getAdReport() {
return this.adReport;
}
@NotNull
public final AssetCacheConfig getAssetCacheConfig() {
return this.assetCache;
}
@NotNull
public final AudioConfig getAudio() {
return this.audio;
}
@NotNull
public final CacheConfig getCacheConfig(@NotNull String adType) {
Intrinsics.checkNotNullParameter(adType, "adType");
CacheConfig cacheConfig = this.cache.get(adType);
if (cacheConfig == null) {
CacheConfig cacheConfig2 = this.cache.get("base");
return cacheConfig2 == null ? new CacheConfig() : cacheConfig2;
}
return cacheConfig;
}
@NotNull
public final ContextualDataConfig getContextualData() {
return this.contextualData;
}
public final int getDefaultRefreshInterval() {
return this.defaultRefreshInterval;
}
@NotNull
public final ImaiConfig getImaiConfig() {
return this.imai;
}
public final int getMaxPoolSize() {
return this.maxPoolSize;
}
public final int getMinimumRefreshInterval() {
return this.minimumRefreshInterval;
}
@NotNull
public final MraidConfig getMraidConfig() {
return this.mraid;
}
@NotNull
public final RenderingConfig getRendering() {
return this.rendering;
}
@NotNull
public final TimeoutConfigurations getTimeouts() {
return this.timeouts;
}
@Override
@NotNull
public String getType() {
return "ads";
}
@NotNull
public final String getUrl() {
return this.url;
}
@NotNull
public final VastVideoConfig getVastVideo() {
return this.vastVideo;
}
@NotNull
public final ViewabilityConfig getViewability() {
return this.viewability;
}
public final boolean getWatermarkEnabled() {
return this.watermarkEnabled;
}
public final boolean isCCTEnabled() {
return this.cctEnabled;
}
@Override
public boolean isValid() {
int i;
int i2;
if (this.maxPoolSize <= 0 || i4.a(this.url) || (i = this.minimumRefreshInterval) < 0 || (i2 = this.defaultRefreshInterval) < 0 || i > i2) {
return false;
}
for (Map.Entry<String, CacheConfig> entry : this.cache.entrySet()) {
if (!entry.getValue().isValid()) {
return false;
}
}
this.timeouts.a0();
return this.contextualData.isValid() && this.adQuality.isValid() && this.imai.isValid() && this.mraid.isValid() && this.timeouts.Z() && this.rendering.isValid() && this.vastVideo.isValid() && this.assetCache.isValid() && this.viewability.isValid() && this.audio.isValid();
}
public final void setAdQuality(@NotNull AdQualityConfig adQualityConfig) {
Intrinsics.checkNotNullParameter(adQualityConfig, "<set-?>");
this.adQuality = adQualityConfig;
}
public final void setAdReport(@NotNull AdReportConfig adReportConfig) {
Intrinsics.checkNotNullParameter(adReportConfig, "<set-?>");
this.adReport = adReportConfig;
}
public final void setAudio(@NotNull AudioConfig audioConfig) {
Intrinsics.checkNotNullParameter(audioConfig, "<set-?>");
this.audio = audioConfig;
}
public final void setContextualData(@NotNull ContextualDataConfig contextualDataConfig) {
Intrinsics.checkNotNullParameter(contextualDataConfig, "<set-?>");
this.contextualData = contextualDataConfig;
}
public final void setDefaultRefreshInterval(int i) {
this.defaultRefreshInterval = i;
}
public final void setMinimumRefreshInterval(int i) {
this.minimumRefreshInterval = i;
}
public final void setRendering(@NotNull RenderingConfig renderingConfig) {
Intrinsics.checkNotNullParameter(renderingConfig, "<set-?>");
this.rendering = renderingConfig;
}
public final void setTimeouts(@NotNull TimeoutConfigurations timeoutConfigurations) {
Intrinsics.checkNotNullParameter(timeoutConfigurations, "<set-?>");
this.timeouts = timeoutConfigurations;
}
public final void setUrl(@NotNull String str) {
Intrinsics.checkNotNullParameter(str, "<set-?>");
this.url = str;
}
public final void setVastVideo(@NotNull VastVideoConfig vastVideoConfig) {
Intrinsics.checkNotNullParameter(vastVideoConfig, "<set-?>");
this.vastVideo = vastVideoConfig;
}
public final void setViewability(@NotNull ViewabilityConfig viewabilityConfig) {
Intrinsics.checkNotNullParameter(viewabilityConfig, "<set-?>");
this.viewability = viewabilityConfig;
}
@Override
@NotNull
public JSONObject toJson() {
JSONObject a2 = Companion.a().a((com.inmobi.commons.utils.json.a<AdConfig>) this);
if (a2 == null) {
Intrinsics.checkNotNullExpressionValue("AdConfig", "TAG");
return new JSONObject();
}
return a2;
}
}