Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

ConsumeResponseListener

public interface ConsumeResponseListener

com.android.billingclient.api.ConsumeResponseListener


Callback that notifies when a consumption operation finishes.

Summary

Public methods

abstract void onConsumeResponse(BillingResult billingResult, String purchaseToken)

Called to notify that a consume operation has finished.

Public methods

onConsumeResponse

void onConsumeResponse (BillingResult billingResult, 
                String purchaseToken)

Called to notify that a consume operation has finished.

Parameters
billingResult BillingResult: Result of the consume operation. ITEM_NOT_OWNED if the user does not currently own the item.

purchaseToken String: The purchase token that was (or was to be) consumed.