Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

PurchaseHistoryResponseListener

public interface PurchaseHistoryResponseListener

com.android.billingclient.api.PurchaseHistoryResponseListener


Listener to a result of purchase history query.

Summary

Public methods

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

Called to notify that the query purchase history operation has finished.

Public methods

onPurchaseHistoryResponse

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

Called to notify that the query purchase history operation has finished.

Parameters
billingResult BillingResult: Result 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 if purchase history was not queried successfully.