Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 Constants.java 源代码,内容仅作参考
package com.exponea.sdk.models;
import android.content.Context;
import com.exponea.sdk.models.ExponeaConfiguration;
import com.exponea.sdk.services.DefaultAppInboxProvider;
import com.exponea.sdk.util.Logger;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u000e\bÀ\u0002\u0018\u00002\u00020\u0001:\f\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000eB\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u000f"}, d2 = {"Lcom/exponea/sdk/models/Constants;", "", "()V", "AppInbox", "Campaign", "DeviceInfo", "EventTypes", "Flush", "General", "InApps", "Logger", "PushNotif", "Repository", "Session", "Token", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public final class Constants {
@NotNull
public static final Constants INSTANCE = new Constants();
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$AppInbox;", "", "()V", "defaulAppInboxProvider", "Lcom/exponea/sdk/services/DefaultAppInboxProvider;", "getDefaulAppInboxProvider", "()Lcom/exponea/sdk/services/DefaultAppInboxProvider;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class AppInbox {
@NotNull
public static final AppInbox INSTANCE = new AppInbox();
@NotNull
private static final DefaultAppInboxProvider defaulAppInboxProvider = new DefaultAppInboxProvider();
private AppInbox() {
}
@NotNull
public final DefaultAppInboxProvider getDefaulAppInboxProvider() {
return defaulAppInboxProvider;
}
}
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0000\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0005"}, d2 = {"Lcom/exponea/sdk/models/Constants$Campaign;", "", "()V", "defaultCampaignTTL", "", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Campaign {
@NotNull
public static final Campaign INSTANCE = new Campaign();
public static final double defaultCampaignTTL = 10.0d;
private Campaign() {
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lcom/exponea/sdk/models/Constants$DeviceInfo;", "", "()V", "osName", "", "sdk", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class DeviceInfo {
@NotNull
public static final DeviceInfo INSTANCE = new DeviceInfo();
@NotNull
public static final String osName = "Android";
@NotNull
public static final String sdk = "AndroidSDK";
private DeviceInfo() {
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u000f\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006R\u0014\u0010\t\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u0006R\u0014\u0010\u000b\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u0006R\u0014\u0010\r\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u0006R\u0014\u0010\u000f\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0006R\u0014\u0010\u0011\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0006¨\u0006\u0013"}, d2 = {"Lcom/exponea/sdk/models/Constants$EventTypes;", "", "()V", "banner", "", "getBanner", "()Ljava/lang/String;", "inbox", "getInbox", "installation", "getInstallation", "payment", "getPayment", "push", "getPush", "sessionEnd", "getSessionEnd", "sessionStart", "getSessionStart", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class EventTypes {
@NotNull
public static final EventTypes INSTANCE = new EventTypes();
@NotNull
private static final String inbox = "app_inbox";
@NotNull
private static final String installation = "installation";
@NotNull
private static final String sessionEnd = "session_end";
@NotNull
private static final String sessionStart = "session_start";
@NotNull
private static final String payment = "payment";
@NotNull
private static final String push = "campaign";
@NotNull
private static final String banner = "banner";
private EventTypes() {
}
@NotNull
public final String getBanner() {
return banner;
}
@NotNull
public final String getInbox() {
return inbox;
}
@NotNull
public final String getInstallation() {
return installation;
}
@NotNull
public final String getPayment() {
return payment;
}
@NotNull
public final String getPush() {
return push;
}
@NotNull
public final String getSessionEnd() {
return sessionEnd;
}
@NotNull
public final String getSessionStart() {
return sessionStart;
}
}
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u000b"}, d2 = {"Lcom/exponea/sdk/models/Constants$Flush;", "", "()V", "defaultFlushMode", "Lcom/exponea/sdk/models/FlushMode;", "getDefaultFlushMode", "()Lcom/exponea/sdk/models/FlushMode;", "defaultFlushPeriod", "Lcom/exponea/sdk/models/FlushPeriod;", "getDefaultFlushPeriod", "()Lcom/exponea/sdk/models/FlushPeriod;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Flush {
@NotNull
public static final Flush INSTANCE = new Flush();
@NotNull
private static final FlushMode defaultFlushMode = FlushMode.IMMEDIATE;
@NotNull
private static final FlushPeriod defaultFlushPeriod = new FlushPeriod(60, TimeUnit.MINUTES);
private Flush() {
}
@NotNull
public final FlushMode getDefaultFlushMode() {
return defaultFlushMode;
}
@NotNull
public final FlushPeriod getDefaultFlushPeriod() {
return defaultFlushPeriod;
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006R\u0014\u0010\t\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u0006¨\u0006\u000b"}, d2 = {"Lcom/exponea/sdk/models/Constants$General;", "", "()V", "bannerFilename", "", "getBannerFilename", "()Ljava/lang/String;", "bannerFilenameExt", "getBannerFilenameExt", "bannerFullFilename", "getBannerFullFilename", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class General {
@NotNull
public static final General INSTANCE = new General();
@NotNull
private static final String bannerFilename = "personalization";
@NotNull
private static final String bannerFilenameExt = "html";
@NotNull
private static final String bannerFullFilename = "personalization.html";
private General() {
}
@NotNull
public final String getBannerFilename() {
return bannerFilename;
}
@NotNull
public final String getBannerFilenameExt() {
return bannerFilenameExt;
}
@NotNull
public final String getBannerFullFilename() {
return bannerFullFilename;
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$InApps;", "", "()V", "defaultInAppMessageDelegate", "Lcom/exponea/sdk/models/InAppMessageCallback;", "getDefaultInAppMessageDelegate", "()Lcom/exponea/sdk/models/InAppMessageCallback;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class InApps {
@NotNull
public static final InApps INSTANCE = new InApps();
@NotNull
private static final InAppMessageCallback defaultInAppMessageDelegate = new InAppMessageCallback() {
private boolean overrideDefaultBehavior;
private boolean trackActions = true;
@Override
public boolean getOverrideDefaultBehavior() {
return this.overrideDefaultBehavior;
}
@Override
public boolean getTrackActions() {
return this.trackActions;
}
@Override
public void inAppMessageAction(@NotNull InAppMessage inAppMessage, InAppMessageButton inAppMessageButton, boolean z15, @NotNull Context context) {
}
public void setOverrideDefaultBehavior(boolean z15) {
this.overrideDefaultBehavior = z15;
}
@Override
public void setTrackActions(boolean z15) {
this.trackActions = z15;
}
};
private InApps() {
}
@NotNull
public final InAppMessageCallback getDefaultInAppMessageDelegate() {
return defaultInAppMessageDelegate;
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$Logger;", "", "()V", "defaultLoggerLevel", "Lcom/exponea/sdk/util/Logger$Level;", "getDefaultLoggerLevel", "()Lcom/exponea/sdk/util/Logger$Level;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Logger {
@NotNull
public static final Logger INSTANCE = new Logger();
@NotNull
private static final Logger.Level defaultLoggerLevel = Logger.Level.INFO;
private Logger() {
}
@NotNull
public final Logger.Level getDefaultLoggerLevel() {
return defaultLoggerLevel;
}
}
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lcom/exponea/sdk/models/Constants$PushNotif;", "", "()V", "defaultAutomaticListening", "", "fcmSelfCheckPlatformProperty", "", "fcmTokenProperty", "hmsSelfCheckPlatformProperty", "hmsTokenProperty", "source", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class PushNotif {
@NotNull
public static final PushNotif INSTANCE = new PushNotif();
public static final boolean defaultAutomaticListening = true;
@NotNull
public static final String fcmSelfCheckPlatformProperty = "android";
@NotNull
public static final String fcmTokenProperty = "google_push_notification_id";
@NotNull
public static final String hmsSelfCheckPlatformProperty = "huawei";
@NotNull
public static final String hmsTokenProperty = "huawei_push_notification_id";
@NotNull
public static final String source = "xnpe_platform";
private PushNotif() {
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u0004X\u0086D¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$Repository;", "", "()V", "baseURL", "", "getBaseURL", "()Ljava/lang/String;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Repository {
@NotNull
public static final Repository INSTANCE = new Repository();
@NotNull
private static final String baseURL = "https://api.exponea.com";
private Repository() {
}
@NotNull
public final String getBaseURL() {
return baseURL;
}
}
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0006\n\u0000\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$Session;", "", "()V", "defaultAutomaticTracking", "", "defaultTimeout", "", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Session {
@NotNull
public static final Session INSTANCE = new Session();
public static final boolean defaultAutomaticTracking = true;
public static final double defaultTimeout = 20.0d;
private Session() {
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/exponea/sdk/models/Constants$Token;", "", "()V", "defaultTokenFrequency", "Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", "getDefaultTokenFrequency", "()Lcom/exponea/sdk/models/ExponeaConfiguration$TokenFrequency;", "sdk_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
public static final class Token {
@NotNull
public static final Token INSTANCE = new Token();
@NotNull
private static final ExponeaConfiguration.TokenFrequency defaultTokenFrequency = ExponeaConfiguration.TokenFrequency.ON_TOKEN_CHANGE;
private Token() {
}
@NotNull
public final ExponeaConfiguration.TokenFrequency getDefaultTokenFrequency() {
return defaultTokenFrequency;
}
}
private Constants() {
}
}