FMX.InAppPurchase.TInAppPurchase.OnError
Delphi
property OnError: TIAPErrorEvent read FOnError write FOnError;
C++
__property OnError;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TInAppPurchase |
Description
Triggered when an error occurs while retrieving information about a list of product IDs or while purchasing a product. {{#multireplace:FMX.InAppPurchase.TInAppPurchase.OnError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.InAppPurchase.TCustomInAppPurchase.OnError|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.OnError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Triggered when an error occurs while retrieving information about a list of product IDs or while purchasing a product.
This event provides the following arguments to its event handler:
Senderis the current instance of TCustomInAppPurchase.FailureKindmay be any of the following:- TFailureKind.ProductsRequest if the error occurred while retrieving information about a list of product IDs.
- TFailureKind.Purchase if the error occurred while purchasing a product.
ErrorMessageprovides a detailed description of the error.
See Also
- FMX.InAppPurchase.TCustomInAppPurchase.QueryProducts
- FMX.InAppPurchase.TCustomInAppPurchase.PurchaseProduct