what-the-bank/sources/com/google/firebase/crashlytics/internal/common/DeliveryMechanism.java

29 lines
597 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}