FMX.InAppPurchase.TCustomInAppPurchase.IsProductPurchased
Delphi
function IsProductPurchased(const ProductID: string): Boolean;
C++
bool __fastcall IsProductPurchased(const System::UnicodeString ProductID);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TCustomInAppPurchase |
Description
Returns True if the product with the specified ID has been purchased; otherwise it returns False.
This method raises an EIAPNotSetup exception if you use it before you establish a connection to the in-app payment service.