The Android Developer Challenge is back! Submit your idea before December 2.

PurchaseHistoryResponseListener

public interface PurchaseHistoryResponseListener

com.android.billingclient.api.PurchaseHistoryResponseListener


Listener to a result of purchases history query.

Summary

Public methods

abstract void onPurchaseHistoryResponse(BillingResult billingResult, List<PurchaseHistoryRecord> purchaseHistoryRecordList)

Called to notify that purchase history fetch operation has finished.

Public methods

onPurchaseHistoryResponse

void onPurchaseHistoryResponse (BillingResult billingResult, 
                List<PurchaseHistoryRecord> purchaseHistoryRecordList)

Called to notify that purchase history fetch operation has finished.

Parameters
billingResult BillingResult: BillingResult of the query.

purchaseHistoryRecordList List: List of purchase records (even if that purchase is expired, canceled, or consumed - up to 1 per each SKU) or null with corresponding BillingClient.BillingResponseCode responseCode if purchase history was not queried successfully.