ResponseCode (Legacy)
com.appcoins.sdk.billing.ResponseCode
Enum class that represents the possible values in a general response of the Android Billing SDK.
Public parameters
| Name | Type | Description |
|---|---|---|
| value | Int | ResponseCode of the response. |
value
Possible values of the Response:
| Value | Title | Description |
|---|---|---|
| -2 | FEATURE_NOT_SUPPORTED | Feature requested is not supported for the current Billing SDK Version, Billing Service or any of the User parameters (eg: device). |
| 0 | OK | Success. |
| 1 | USER_CANCELED | User pressed back or canceled the interaction. |
| 2 | SERVICE_UNAVAILABLE | The network connection is down. |
| 3 | BILLING_UNAVAILABLE | This billing API version is not supported for the type requested. |
| 4 | ITEM_UNAVAILABLE | Requested SKU is not available for purchase. |
| 5 | DEVELOPER_ERROR | Invalid arguments provided to the API or incorrect invocation of the Methods. |
| 6 | ERROR | Fatal error during the API action. |
| 7 | ITEM_ALREADY_OWNED | Failure to purchase since item is already owned. |
| 8 | ITEM_NOT_OWNED | Failure to consume since item is not owned. |
Updated 2 months ago
