purchaseProduct
fun purchaseProduct(activity: Activity, skuDetails: SkuDetails, upgradeInfo: UpgradeInfo, listener: ProductChangeListener)
Content copied to clipboard
fun purchaseProduct(activity: Activity, skuDetails: SkuDetails, listener: MakePurchaseListener)
Content copied to clipboard
Make a purchase.
Parameters
activity
Current activity
skuDetails
The skuDetails of the product you wish to purchase
listener
The listener that will be called when purchase completes.