FMX.InAppPurchase.TCustomInAppPurchase.QueryProducts
Delphi
procedure QueryProducts;
C++
void __fastcall QueryProducts();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TCustomInAppPurchase |
Description
Requests information from the in-app payment service about the products with the list of IDs of the ProductIDs property.
This request eventually triggers an event:
- If the request is successful, TInAppPurchase.OnProductsRequestResponse is triggered.
- If there is an error, TInAppPurchase.OnError is triggered with ProductsRequest as
FailureKind
.
This method raises an EIAPNotSetup exception if you use it before you establish a connection to the in-app payment service.