FMX.InAppPurchase.TCustomInAppPurchase.IsProductPurchased

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also