lightbulb_outline Please take our October 2018 developer survey. Start survey

com.android.billingclient.api

Annotations

BillingClient.BillingResponse Possible response codes. 
BillingClient.ChildDirected Developers are able to specify whether this app is child directed or not to ensure compliance with US COPPA & EEA age of consent laws. 
BillingClient.FeatureType Features/capabilities supported by isFeatureSupported(String)
BillingClient.SkuType Supported SKU types. 
BillingFlowParams.ProrationMode Replace SKU ProrationMode. 

Interfaces

BillingClientStateListener Callback for setup process. 
ConsumeResponseListener Callback that notifies when a consumption operation finishes. 
PriceChangeConfirmationListener Listener to a result of the price change confirmation flow. 
PurchaseHistoryResponseListener Listener to a result of purchases history query. 
PurchasesUpdatedListener 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. 
RewardResponseListener Listener to a result of load reward request  
SkuDetailsResponseListener Listener to a result of SKU details query  

Classes

BillingClient Main interface for communication between the library and user application code. 
BillingClient.Builder Builder to configure and create a BillingClient instance. 
BillingFlowParams Parameters to initiate a purchase flow. 
BillingFlowParams.Builder Helps to construct BillingFlowParams that are used to initiate a purchase flow. 
PriceChangeFlowParams Parameters to launch a price change confirmation flow. 
PriceChangeFlowParams.Builder Helps construct PriceChangeFlowParams that are used to launch a price change confirmation flow  
ProxyBillingActivity An invisible activity that launches another billing-related activity and delivers parsed result to the BillingClient via ResultReceiver
Purchase Represents an in-app billing purchase. 
Purchase.PurchasesResult Result list and code for queryPurchases method  
RewardLoadParams Parameters to load a rewarded SKU. 
RewardLoadParams.Builder Helps construct RewardLoadParams that are used to load rewarded SKUs  
SkuDetails Represents an in-app product's or subscription's listing details. 
SkuDetailsParams Parameters to initiate a query for SKU details. 
SkuDetailsParams.Builder Helps to construct SkuDetailsParams that are used to query for SKU details.