InApps C++
|
Public Member Functions | |
virtual void | purchaseStarted (InAppService *service, const string &productId)=0 |
virtual void | purchaseFailed (InAppService *service, const string &productId, const InAppService::Error &error)=0 |
virtual void | purchaseCompleted (InAppService *service, const InAppPurchase &purchase)=0 |
Allows to listen to different events regarding the purchasing process.
|
pure virtual |
Triggered when the purchasing proccess is completed successfully.
service | The service. |
purchase | The purchase information. |
|
pure virtual |
Triggered when the purchasing process has faild.
service | The service. |
productId | The id of the product. |
error | The reported error description. |
|
pure virtual |
Triggered when the purchasing process has started.
service | The service. |
productId | The id of the product. |