Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. 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.