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