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.
FMX.InAppPurchase.TInAppPurchase.OnError inherits from FMX.InAppPurchase.TCustomInAppPurchase.OnError. All content below this line refers to FMX.InAppPurchase.TCustomInAppPurchase.OnError.
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:
Sender
is the current instance of TCustomInAppPurchase.FailureKind
may 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.
ErrorMessage
provides a detailed description of the error.
See Also
- FMX.InAppPurchase.TCustomInAppPurchase.QueryProducts
- FMX.InAppPurchase.TCustomInAppPurchase.PurchaseProduct