com.eg.agent.android.analytics.AnalyticsEventCategory Maven / Gradle / Ivy
package com.eg.agent.android.analytics;
public enum AnalyticsEventCategory {
Session,
Interaction,
Crash,
Custom;
public static AnalyticsEventCategory fromString(String categoryString) {
AnalyticsEventCategory category = Custom;
if (categoryString == null) {
return category;
}
if (categoryString.equalsIgnoreCase("session")) {
return Session;
}
if (categoryString.equalsIgnoreCase("interaction")) {
return Interaction;
}
if (categoryString.equalsIgnoreCase("crash")) {
return Crash;
}
return category;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy