Files
rr3-apk/decompiled/sources/com/unity3d/services/store/gpbl/BillingResultResponseCode.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

42 lines
1011 B
Java

package com.unity3d.services.store.gpbl;
import androidx.annotation.NonNull;
/* loaded from: classes4.dex */
public enum BillingResultResponseCode {
UNKNOWN(-100),
SERVICE_TIMEOUT(-3),
FEATURE_NOT_SUPPORTED(-2),
SERVICE_DISCONNECTED(-1),
OK(0),
USER_CANCELED(1),
SERVICE_UNAVAILABLE(2),
BILLING_UNAVAILABLE(3),
ITEM_UNAVAILABLE(4),
DEVELOPER_ERROR(5),
ERROR(6),
ITEM_ALREADY_OWNED(7),
ITEM_NOT_OWNED(8),
NETWORK_ERROR(12);
private final int _responseCode;
public int getResponseCode() {
return this._responseCode;
}
BillingResultResponseCode(int i) {
this._responseCode = i;
}
@NonNull
public static BillingResultResponseCode fromResponseCode(int i) {
for (BillingResultResponseCode billingResultResponseCode : values()) {
if (billingResultResponseCode.getResponseCode() == i) {
return billingResultResponseCode;
}
}
return UNKNOWN;
}
}