29 lines
597 B
Java
29 lines
597 B
Java
|
package com.google.firebase.crashlytics.internal.common;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public enum DeliveryMechanism {
|
||
|
DEVELOPER(1),
|
||
|
USER_SIDELOAD(2),
|
||
|
TEST_DISTRIBUTION(3),
|
||
|
APP_STORE(4);
|
||
|
|
||
|
private final int id;
|
||
|
|
||
|
DeliveryMechanism(int i) {
|
||
|
this.id = i;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Enum
|
||
|
public final String toString() {
|
||
|
return Integer.toString(this.id);
|
||
|
}
|
||
|
|
||
|
public final int getId() {
|
||
|
return this.id;
|
||
|
}
|
||
|
|
||
|
public static DeliveryMechanism determineFrom(String str) {
|
||
|
return str != null ? APP_STORE : DEVELOPER;
|
||
|
}
|
||
|
}
|