API reference
API reference
Select your platform
No SDKs available
No versions available

BillingResponseCode

BillingResponseCode

annotation class BillingResponseCode
Possible response codes.

Types

NameSummary
Companion
object Companion

Companion

object Companion

Properties

NameSummary
BILLING_UNAVAILABLE
const val BILLING_UNAVAILABLE: Int = 3
A user billing error occurred during processing.
DEVELOPER_ERROR
const val DEVELOPER_ERROR: Int = 5
Error resulting from incorrect usage of the API.
ERROR
const val ERROR: Int = 6
Fatal error during the API action.
FEATURE_NOT_SUPPORTED
const val FEATURE_NOT_SUPPORTED: Int
The requested feature is not supported by the Store on the current device.
ITEM_ALREADY_OWNED
const val ITEM_ALREADY_OWNED: Int = 7
The purchase failed because the item is already owned.
ITEM_NOT_OWNED
const val ITEM_NOT_OWNED: Int = 8
Requested action on the item failed since it is not owned by the user.
ITEM_UNAVAILABLE
const val ITEM_UNAVAILABLE: Int = 4
The requested product is not available for purchase.
NETWORK_ERROR
const val NETWORK_ERROR: Int = 12
A network error occurred during the operation.
OK
const val OK: Int = 0
Success.
SERVICE_DISCONNECTED
const val SERVICE_DISCONNECTED: Int
The app is not connected to the Store because Platform SDK has not been initialized.
SERVICE_TIMEOUT
const val SERVICE_TIMEOUT: Int
This field is deprecated.
SERVICE_UNAVAILABLE
const val SERVICE_UNAVAILABLE: Int = 2
The service is currently unavailable.
USER_CANCELED
const val USER_CANCELED: Int = 1
Transaction was canceled by the user.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon