Skip to content

Instantly share code, notes, and snippets.

View BlacKCaT27's full-sized avatar

Josh Kitchens BlacKCaT27

View GitHub Profile
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;