Register now for Android Dev Summit 2019!

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: BillingResult, the result of the consume operation.

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