mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
pt 1 in reviving the android build (copied from pm 28a1, wish me luck)
This commit is contained in:
parent
efa9662725
commit
d7788a6d6d
4249 changed files with 468189 additions and 0 deletions
35
mobile/android/thirdparty/com/adjust/sdk/ActivityKind.java
vendored
Normal file
35
mobile/android/thirdparty/com/adjust/sdk/ActivityKind.java
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
package com.adjust.sdk;
|
||||
|
||||
public enum ActivityKind {
|
||||
UNKNOWN, SESSION, EVENT, CLICK, ATTRIBUTION;
|
||||
|
||||
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 {
|
||||
return UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
switch (this) {
|
||||
case SESSION:
|
||||
return "session";
|
||||
case EVENT:
|
||||
return "event";
|
||||
case CLICK:
|
||||
return "click";
|
||||
case ATTRIBUTION:
|
||||
return "attribution";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue