Packagecom.myflashlab.air.extensions.billing
Classpublic class BillingResponse
InheritanceBillingResponse Inheritance Object

(Android) indicates the different responses about your in-app-billing state from the GooglePlay app.

See also

Billing.isFeatureSupported


Public Constants
 ConstantDefined By
  BILLING_UNAVAILABLE : int = 3
[static] Billing API version is not supported for the type requested
BillingResponse
  DEVELOPER_ERROR : int = 5
[static] Invalid arguments provided to the API.
BillingResponse
  ERROR : int = 6
[static] Fatal error during the API action
BillingResponse
  FEATURE_NOT_SUPPORTED : int = -2
[static] Requested feature is not supported by Play Store on the current device.
BillingResponse
  ITEM_ALREADY_OWNED : int = 7
[static] Failure to purchase since item is already owned
BillingResponse
  ITEM_NOT_OWNED : int = 8
[static] Failure to consume since item is not owned
BillingResponse
  ITEM_UNAVAILABLE : int = 4
[static] Requested product is not available for purchase
BillingResponse
  OK : int = 0
[static] Success
BillingResponse
  SERVICE_DISCONNECTED : int = -1
[static] Play Store service is not connected now - potentially transient state.
BillingResponse
  SERVICE_TIMEOUT : int = -3
[static] The request has reached the maximum timeout before Google Play responds.
BillingResponse
  SERVICE_UNAVAILABLE : int = 2
[static] Network connection is down
BillingResponse
  USER_CANCELED : int = 1
[static] User pressed back or canceled a dialog
BillingResponse
Constant Detail
BILLING_UNAVAILABLEConstant
public static const BILLING_UNAVAILABLE:int = 3

Billing API version is not supported for the type requested

DEVELOPER_ERRORConstant 
public static const DEVELOPER_ERROR:int = 5

Invalid arguments provided to the API. This error can also indicate that the application was not correctly signed or properly set up for In-app Billing in Google Play, or does not have the necessary permissions in its manifest

ERRORConstant 
public static const ERROR:int = 6

Fatal error during the API action

FEATURE_NOT_SUPPORTEDConstant 
public static const FEATURE_NOT_SUPPORTED:int = -2

Requested feature is not supported by Play Store on the current device.

ITEM_ALREADY_OWNEDConstant 
public static const ITEM_ALREADY_OWNED:int = 7

Failure to purchase since item is already owned

ITEM_NOT_OWNEDConstant 
public static const ITEM_NOT_OWNED:int = 8

Failure to consume since item is not owned

ITEM_UNAVAILABLEConstant 
public static const ITEM_UNAVAILABLE:int = 4

Requested product is not available for purchase

OKConstant 
public static const OK:int = 0

Success

SERVICE_DISCONNECTEDConstant 
public static const SERVICE_DISCONNECTED:int = -1

Play Store service is not connected now - potentially transient state.

SERVICE_TIMEOUTConstant 
public static const SERVICE_TIMEOUT:int = -3

The request has reached the maximum timeout before Google Play responds.

SERVICE_UNAVAILABLEConstant 
public static const SERVICE_UNAVAILABLE:int = 2

Network connection is down

USER_CANCELEDConstant 
public static const USER_CANCELED:int = 1

User pressed back or canceled a dialog