com.google.android.gms.ads.purchase.PlayStorePurchaseListener |
Interface definition for implementing an in-app purchase using the default purchase flow.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the user triggers an in-app purchase.
| |||||||||||
Called when the user has completed an in-app purchase transaction.
|
Called when the user triggers an in-app purchase. Return true
if this purchase is
valid.
productId | The product ID (SKU) of the requested product. |
---|
Called when the user has completed an in-app purchase transaction.
The publisher is responsible for crediting the user with the product, and calling
finishPurchase()
to consume the purchase.
inAppPurchaseResult | The InAppPurchaseResult containing the result of the
purchase.
|
---|