FMX.WindowsStore.TWindowsStore.PurchaseProduct

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PurchaseProduct(AStoreProduct: IStoreProduct): StorePurchaseStatus;

C++

Winapi::Servicesrt::Store::StorePurchaseStatus __fastcall PurchaseProduct(Winapi::Servicesrt::Store::_di_IStoreProduct AStoreProduct);

Properties

Type Visibility Source Unit Parent
function public
FMX.WindowsStore.pas
FMX.WindowsStore.hpp
FMX.WindowsStore TWindowsStore

Description

Requests the purchase for the specified app or add-on.

It also displays the UI used to complete the transaction via the Microsoft Store.

Attention: This method must be called on the UI thread.