FMX.InAppPurchase.TCustomInAppPurchase.IsProductPurchased
Delphi
function IsProductPurchased(const ProductID: string): Boolean;
C++
bool __fastcall IsProductPurchased(const System::UnicodeString ProductID);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TCustomInAppPurchase |
Description
Renvoie True si le produit avec l'identifiant a été acheté ; sinon, elle renvoie False.
Cette méthode déclenche une exception EIAPNotSetup si vous l'utilisez avant d'établir une connexion au service de paiement in-app.