FMX.InAppPurchase.TInAppPurchase.OnPurchaseCompleted

From RAD Studio API Documentation

Delphi

property OnPurchaseCompleted: TIAPPurchaseCompletedEvent read FOnPurchaseCompleted write FOnPurchaseCompleted;

C++

__property OnPurchaseCompleted;

Properties

Type Visibility Source Unit Parent
event published
FMX.InAppPurchase.pas
FMX.InAppPurchase.hpp
FMX.InAppPurchase TInAppPurchase

Description

Triggered after successfully purchasing a product. {{#multireplace:FMX.InAppPurchase.TInAppPurchase.OnPurchaseCompleted|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.InAppPurchase.TCustomInAppPurchase.OnPurchaseCompleted|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.InAppPurchase.TCustomInAppPurchase.OnPurchaseCompleted|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Triggered after successfully purchasing a product.

This event provides the following arguments to its event handler:

  • Sender is the current instance of TCustomInAppPurchase.
  • ProductID is the ID of the purchased product.
  • NewTransaction is True if the product has just been purchased or False if it has been restored.

See Also