FMX.InAppPurchase.IInAppPurchaseCallbacks.DoError
Delphi
procedure DoError(FailureKind: TFailureKind; const ErrorMessage: string);
C++
virtual void __fastcall DoError(TFailureKind FailureKind, const System::UnicodeString ErrorMessage) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | IInAppPurchaseCallbacks |
Description
Called when an error occurs while retrieving information about a list of product IDs or while purchasing a product.
This method provides the following arguments:
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.IInAppPurchaseCallbacks.DoProductsRequestResponse
- FMX.InAppPurchase.IInAppPurchaseCallbacks.DoPurchaseCompleted