Vcl.WindowsStore.TWindowsStore.PurchaseProduct

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PurchaseProduct(AStoreProduct: IStoreProduct): StorePurchaseStatus;

C++

Winapi::Commontypes::StorePurchaseStatus __fastcall PurchaseProduct(Winapi::Commontypes::_di_IStoreProduct AStoreProduct);

Properties

Type Visibility Source Unit Parent
function public
Vcl.WindowsStore.pas
Vcl.WindowsStore.hpp
Vcl.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.