public interface

InAppPurchaseResult

com.google.android.gms.ads.purchase.InAppPurchaseResult

Class Overview

Contains information about the result of a default purchase.

Summary

Public Methods
abstract void finishPurchase()
Call this method after you finish delivering the product.
abstract String getProductId()
Returns the product ID (SKU).
abstract Intent getPurchaseData()
Returns the response Intent.
abstract int getResultCode()
Returns the Activity result code of in-app billing request.
abstract boolean isVerified()
Returns true if the purchase is successfully verified.

Public Methods

public abstract void finishPurchase ()

Call this method after you finish delivering the product. If this method is not called, the purchase will not get consumed.

public abstract String getProductId ()

Returns the product ID (SKU).

public abstract Intent getPurchaseData ()

Returns the response Intent.

public abstract int getResultCode ()

Returns the Activity result code of in-app billing request.

public abstract boolean isVerified ()

Returns true if the purchase is successfully verified.