# 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`](https://onestore-dev.gitbook.io/dev/cht/tools/billing/v21/references/classes/iapresult) `iapResult)`

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

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