com.adjust.sdk.ActivityKind Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adjust-android-criteo Show documentation
Show all versions of adjust-android-criteo Show documentation
The Criteo plugin for Adjust SDK for Android
package com.adjust.sdk;
public enum ActivityKind {
UNKNOWN, SESSION, EVENT, CLICK, ATTRIBUTION, REVENUE, REATTRIBUTION, INFO, GDPR;
public static ActivityKind fromString(String string) {
if ("session".equals(string)) {
return SESSION;
} else if ("event".equals(string)) {
return EVENT;
} else if ("click".equals(string)) {
return CLICK;
} else if ("attribution".equals(string)) {
return ATTRIBUTION;
} else if ("info".equals(string)) {
return INFO;
} else if ("gdpr".equals(string)) {
return GDPR;
} else {
return UNKNOWN;
}
}
@Override
public String toString() {
switch (this) {
case SESSION:
return "session";
case EVENT:
return "event";
case CLICK:
return "click";
case ATTRIBUTION:
return "attribution";
case INFO:
return "info";
case GDPR:
return "gdpr";
default:
return "unknown";
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy