Skip to content

Instantly share code, notes, and snippets.

Avatar

Josh Kitchens BlacKCaT27

View GitHub Profile
View PurchaseHelper.java
public class PurchaseHelper{
// Billing response codes
public static final int BILLING_RESPONSE_USER_CLOSED_PURCHASE_WINDOW = -1;
public static final int BILLING_RESPONSE_RESULT_OK = 0;
public static final int BILLING_RESPONSE_RESULT_USER_CANCELED = 1;
public static final int BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE = 3;
public static final int BILLING_RESPONSE_RESULT_ITEM_UNAVAILABLE = 4;
public static final int BILLING_RESPONSE_RESULT_DEVELOPER_ERROR = 5;
public static final int BILLING_RESPONSE_RESULT_ERROR = 6;