Microsoft Store Delphi Component
- Brand: Sync-Components
- Product Code: Cloud Delphi Component
- Availability: In Stock
Microsoft Store Delphi component (Beta) is a non-visual component that utilizes the Windows.Services.Store namespace APIs for UWP app development on Windows 10. The component offers conversion of the Windows.Services.Store namespace interfaces to Delphi with some auxiliary code and allows you to access and manage Microsoft Store-related data for your application.
Features
- Get license info for an app or an add-on that is associated with the app
- Purchase an app or in-app products offered by the app
- Pricing info for a product listing in the Microsoft Store
- Supports Delphi XE3 and newer Delphi versions
Examples
Getting an interface instance.
IStoreContext:
var
StoreContext: IStoreContext;
...
StoreContext := TStoreContextStatics.Statics.GetDefault;
Waiting for the operations to complete (IAsyncOperation_* interface).
uses
Winapi.Foundation;
...
var
ASOP: IAsyncOperation_1__IInspectable;
SPR: IStorePurchaseResult;
begin
ASOP := FStoreContext.RequestPurchaseAsync(TWindowsString.Create(StoreId));
try
while (ASOP as IAsyncInfo).Status = AsyncStatus.Started do
Application.ProcessMessages;
SPR := (ASOP.GetResults as IStorePurchaseResult);
finally
(ASOP as IAsyncInfo).Close;
end;
end;
Enumeration of IVectorView_*.
uses
Winapi.Foundation.Collections;
...
var
SKUs: IVectorView_1__IInspectable;
I: Integer;
SKU: IStoreSku;
begin
SKUs := StoreProduct.Skus;
for I := 0 to SKUs.Size - 1 do
SKU := (SKUs.GetAt(I) as IStoreSku);
end;
Beta Version Specifics
There's no trial version or the compiled demo example of the
component while it's in the beta state. To help you understand whether
the Microsoft Store Delphi component is what you need, please see the
component's introductory documentation (PDF).
We are committed to supporting our customers, any reported issues will
be assigned highest priority and should be resolved in 24 hours.
Buy at Tokopedia!
Buy Now!Tags: Microsoft Store Delphi Component, Sync-Component, Delphi, Cloud Storage & Messaging, Cloud