FMX.InAppPurchase.TCustomInAppPurchase.RestorePurchasedProducts

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RestorePurchasedProducts;

C++

void __fastcall RestorePurchasedProducts();

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.InAppPurchase.pas
FMX.InAppPurchase.hpp
FMX.InAppPurchase TCustomInAppPurchase

Description

Requests the in-app payment service to restore products purchased from a different device on the current device.

This request eventually triggers the TInAppPurchase.OnPurchaseCompleted event with False as the value of the NewTransaction parameter. This event is triggered once per restored product.

This method raises an EIAPNotSetup exception if you use it before you establish a connection to the in-app payment service.

See Also