Purchase.PurchasesResult
public
static
class
Purchase.PurchasesResult
extends Object
java.lang.Object | |
↳ | com.android.billingclient.api.Purchase.PurchasesResult |
Result list and response code for BillingClient.queryPurchases(String)
method.
Summary
Public constructors | |
---|---|
PurchasesResult(BillingResult mBillingResult, List<Purchase> purchasesList)
|
Public methods | |
---|---|
BillingResult
|
getBillingResult()
Returns the |
List<Purchase>
|
getPurchasesList()
Returns the list of |
int
|
getResponseCode()
Returns the response code of In-app Billing API calls. |
Inherited methods | |
---|---|
Public constructors
PurchasesResult
public PurchasesResult (BillingResult mBillingResult, List<Purchase> purchasesList)
Parameters | |
---|---|
mBillingResult |
BillingResult |
purchasesList |
List |
Public methods
getBillingResult
public BillingResult getBillingResult ()
Returns the BillingResult
of the operation.
Returns | |
---|---|
BillingResult |
getPurchasesList
public List<Purchase> getPurchasesList ()
Returns the list of Purchase
.
Returns | |
---|---|
List<Purchase> |
getResponseCode
public int getResponseCode ()
Returns the response code of In-app Billing API calls.
Returns | |
---|---|
int |
The BillingClient.BillingResponseCode corresponding to the result.
|