com.google.android.gms.ads.purchase.InAppPurchase |
Contains information about a purchase.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | RESOLUTION_CANCELED | A resolution indicating the purchase was canceled. | |||||||||
int | RESOLUTION_FAILURE | A resolution indicating the purchase failed. | |||||||||
int | RESOLUTION_INVALID_PRODUCT | A resolution indicating the product is invalid. | |||||||||
int | RESOLUTION_SUCCESS | A resolution indicating the purchase was successful. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the product ID (SKU).
| |||||||||||
Records the purchase status and conversion events for a play billing purchase.
| |||||||||||
Records the purchase status and conversion events.
|
A resolution indicating the purchase was canceled.
A resolution indicating the purchase failed.
A resolution indicating the product is invalid.
A resolution indicating the purchase was successful.
Returns the product ID (SKU).
Records the purchase status and conversion events for a play billing purchase. If this method is not called, conversion events will be lost.
If the purchase is made fulfilled by a billing service other than Google Play billing, use
recordResolution(int)
instead.
The Google Conversion Tracking SDK is required to report conversion events.
Records the purchase status and conversion events. If this method is not called, conversion events will be lost.
If the purchase is made fulfilled by Google Play billing, use
recordPlayBillingResolution(int)
instead.
The Google Conversion Tracking SDK is required to report conversion events.
resolution | The result of a purchase. The value can be
RESOLUTION_SUCCESS , RESOLUTION_FAILURE ,
RESOLUTION_INVALID_PRODUCT or RESOLUTION_CANCELED
|
---|