# Print output for @column tags ?> ConsumeResponseListener {% setvar book_path %}/reference/com/android/billingclient/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

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

public abstract void onConsumeResponse (BillingResult billingResult, 
                String purchaseToken)

Called to notify that a consume operation has finished.

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

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