# ConsumeResponseListener


```
public interface ConsumeResponseListener
```

<br />

*** ** * ** ***

Callback that notifies when a consumption operation finishes.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/com/android/billingclient/api/ConsumeResponseListener#onConsumeResponse(com.android.billingclient.api.BillingResult,java.lang.String)(https://developer.android.com/reference/com/android/billingclient/api/BillingResult billingResult, https://developer.android.com/reference/java/lang/String.html purchaseToken)` Called to notify that a consume operation has finished. |

## Public methods

### onConsumeResponse

```
abstract void onConsumeResponse(BillingResult billingResult, String purchaseToken)
```

Called to notify that a consume operation has finished.

| Parameters |
|---|---|
| `https://developer.android.com/reference/com/android/billingclient/api/BillingResult billingResult` | Result of the consume operation. `https://developer.android.com/reference/com/android/billingclient/api/BillingClient.BillingResponseCode#ITEM_NOT_OWNED()` if the user does not currently own the item. |
| `https://developer.android.com/reference/java/lang/String.html purchaseToken` | The purchase token that was (or was to be) consumed. |