Namespace SA.Android.Vending.BillingClient
Classes
AN_AcknowledgePurchaseParams
Parameters to acknowledge a purchase. AcknowledgePurchase(AN_AcknowledgePurchaseParams, AN_iAcknowledgePurchaseResponseListener)
AN_AcknowledgePurchaseParams.Builder
Helps construct AN_AcknowledgePurchaseParams that are used to acknowledge a purchase.
AN_BillingClient
Main interface for communication between the library and user application code.
It provides convenience methods for in-app billing. You can create one instance of this class for your application and use it to process in-app billing operations. It provides synchronous (blocking) and asynchronous (non-blocking) methods for many common in-app billing operations.
All methods are supposed to be called from the Ui thread and all the asynchronous callbacks will be returned on the Ui thread as well.
AN_BillingClient.Builder
Builder to configure and create a AN_BillingClient instance.
AN_BillingFlowParams
AN_BillingFlowParams.Builder
Helps to construct AN_BillingFlowParams that are used to initiate a purchase flow.
AN_ConsumeParams
Parameters to consume a purchase. (See consumeAsync(ConsumeParams, ConsumeResponseListener)
AN_ConsumeParams.Builder
Helps construct AN_ConsumeParams that are used to consume a purchase.
AN_Purchase
Represents an in-app billing purchase.
AN_Purchase.PurchasesResult
Result list and code for queryPurchases method
AN_PurchaseHistoryRecord
Represents an in-app billing purchase history record. This class includes a subset of fields in AN_Purchase.
AN_PurchasesUpdatedResult
AN_SkuDetails
AN_SkuDetailsParams
Parameters to initiate a query for SKU details.
AN_SkuDetailsParams.Builder
Helps to construct AN_SkuDetailsParams that are used to query for SKU details.
Interfaces
AN_iAcknowledgePurchaseResponseListener
Listener to a result of acknowledge purchase request
AN_iBillingClientStateListener
Callback for setup process. This listener's OnBillingSetupFinished(SA_iResult) method is called when the setup process is complete.
AN_iConsumeResponseListener
Callback that notifies when a consumption operation finishes.
AN_iPurchaseHistoryResponseListener
Listener to a result of purchases history query.
AN_iPurchasesUpdatedListener
Listener interface for purchase updates which happen when, for example, the user buys something within the app or by initiating a purchase from Google Play Store.
AN_iRewardResponseListener
Listener to a result of load reward request
AN_iSkuDetailsResponseListener
Listener to a result of SKU details query
Enums
AN_BillingClient.BillingResponseCode
Possible response codes.
AN_BillingClient.ChildDirected
Developers are able to specify whether you would like your app to be treated as child-directed for
purposes of the Children’s Online Privacy Protection Act (COPPA) -
AN_BillingClient.FeatureType
AN_BillingClient.SkuType
Supported SKU types.
AN_BillingClient.UnderAgeOfConsent
Developers are able to specify whether to mark your ad requests to receive treatment for users in the European Economic Area (EEA) under the age of consent.
AN_BillingFlowParams.ProrationMode
AN_Purchase.State
Possible purchase states.