> For the complete documentation index, see [llms.txt](https://onestore-dev.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestore-dev.gitbook.io/dev/cht/tools/billing/v21/references/interfaces/iapresultlistener.md).

# IapResultListener

## IapResultListener <a href="#id-cn-iapresultlistener-iapresultlistener" id="id-cn-iapresultlistener-iapresultlistener"></a>

`public interface IapResultListener`\
`com.gaa.sdk.iap.IapResultListener`\
&#x20;\
In-app Purchase API回應的基本listener。

## Public methods <a href="#id-cn-iapresultlistener-publicmethods" id="id-cn-iapresultlistener-publicmethods"></a>

***

### onResponse <a href="#id-cn-iapresultlistener-onresponse" id="id-cn-iapresultlistener-onresponse"></a>

`void onResponse(`[`IapResult`](/dev/cht/tools/billing/v21/references/classes/iapresult.md) `iapResult)`

通知API操作结束时被調用。

| **Parameters:** | <p><br></p> |
| --------------- | ----------- |
| iapResult       | <p><br></p> |
