public enum BillingResultResponseCode extends java.lang.Enum<BillingResultResponseCode>
| Enum Constant and Description |
|---|
BILLING_UNAVAILABLE |
DEVELOPER_ERROR |
ERROR |
FEATURE_NOT_SUPPORTED |
ITEM_ALREADY_OWNED |
ITEM_NOT_OWNED |
ITEM_UNAVAILABLE |
OK |
SERVICE_DISCONNECTED |
SERVICE_TIMEOUT |
SERVICE_UNAVAILABLE |
USER_CANCELED |
| Modifier and Type | Method and Description |
|---|---|
static BillingResultResponseCode |
fromResponseCode(int responseCode) |
int |
getResponseCode() |
static BillingResultResponseCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BillingResultResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillingResultResponseCode SERVICE_TIMEOUT
public static final BillingResultResponseCode FEATURE_NOT_SUPPORTED
public static final BillingResultResponseCode SERVICE_DISCONNECTED
public static final BillingResultResponseCode OK
public static final BillingResultResponseCode USER_CANCELED
public static final BillingResultResponseCode SERVICE_UNAVAILABLE
public static final BillingResultResponseCode BILLING_UNAVAILABLE
public static final BillingResultResponseCode ITEM_UNAVAILABLE
public static final BillingResultResponseCode DEVELOPER_ERROR
public static final BillingResultResponseCode ERROR
public static final BillingResultResponseCode ITEM_ALREADY_OWNED
public static final BillingResultResponseCode ITEM_NOT_OWNED
public static BillingResultResponseCode[] values()
for (BillingResultResponseCode c : BillingResultResponseCode.values()) System.out.println(c);
public static BillingResultResponseCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getResponseCode()
public static BillingResultResponseCode fromResponseCode(int responseCode)