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.
billingResponseCode | The result of a play billing purchase. The value can be any
billing response code from
public abstract void recordResolution (int resolution)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
The Google Conversion Tracking SDK is required to report conversion events. Parameters
Except as noted, this content is licensed under Apache 2.0.
For details and restrictions, see the
Content License.
|
---|