InAppPurchaseResult

public interface InAppPurchaseResult

Contains information about the result of a default purchase.

Public Method Summary

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.

Send feedback about...

Need help? Visit our support page.