PurchaseHistoryResponseListener

public interface 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

abstract 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.

List<PurchaseHistoryRecord> purchaseHistoryRecordList

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