30 lines
702 B
Java
30 lines
702 B
Java
package io.fabric.sdk.android.services.common;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum DeliveryMechanism {
|
|
DEVELOPER(1),
|
|
USER_SIDELOAD(2),
|
|
TEST_DISTRIBUTION(3),
|
|
APP_STORE(4);
|
|
|
|
public static final String BETA_APP_PACKAGE_NAME = "io.crash.air";
|
|
private final int id;
|
|
|
|
DeliveryMechanism(int i) {
|
|
this.id = i;
|
|
}
|
|
|
|
public static DeliveryMechanism determineFrom(String str) {
|
|
return BETA_APP_PACKAGE_NAME.equals(str) ? TEST_DISTRIBUTION : str != null ? APP_STORE : DEVELOPER;
|
|
}
|
|
|
|
public int getId() {
|
|
return this.id;
|
|
}
|
|
|
|
@Override // java.lang.Enum
|
|
public String toString() {
|
|
return Integer.toString(this.id);
|
|
}
|
|
}
|