|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Windows Store||MBS WinFrameworks Plugin||20.4||No||Yes||No||No||No|
dim context as New WindowsStoreContextMBS(Window1)
Provides members you can use to access and manage Microsoft Store-related data for the current app. For example, you can use members of this class to get Microsoft Store listing and license info for the current app, purchase the current app or products that are offered by the app, or download and install package updates for the app.
Requires Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
Uses delegates, so only available for Xojo 2013 or newer.
- 2 properties
- 9 methods
- method Constructor
- method Constructor(Parent as Window)
- method GetAppLicenseAsync(CompletionHandler as GetAppLicenseCompletedMBS)
- method GetAssociatedStoreProductsAsync(productKinds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
- method GetStoreProductForCurrentAppAsync(CompletionHandler as GetStoreProductForCurrentAppCompletedMBS)
- method GetStoreProductsAsync(productKinds() as String, storeIds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
- method GetUserCollectionAsync(productKinds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
- method RequestPurchaseAsync(CompletionHandler as RequestPurchaseCompletedMBS, StoreID as String, PurchaseProperties as WindowsStorePurchasePropertiesMBS = nil)
- method RequestRateAndReviewAppAsync(CompletionHandler as RequestRateAndReviewAppCompletedMBS = nil)
- 5 delegates
- delegate GetAppLicenseCompletedMBS(AsyncStatus as Integer, appLicense as WindowsStoreAppLicenseMBS)
- delegate GetStoreProductForCurrentAppCompletedMBS(AsyncStatus as Integer, result as WindowsStoreProductResultMBS)
- delegate GetStoreProductsCompletedMBS(AsyncStatus as Integer, result as WindowsStoreProductQueryResultMBS)
- delegate RequestPurchaseCompletedMBS(AsyncStatus as Integer, result as WindowsStorePurchaseResultMBS)
- delegate RequestRateAndReviewAppCompletedMBS(AsyncStatus as Integer, result as WindowsStoreRateAndReviewResultMBS)
- 4 constants
The operation was canceled.
The operation has completed.
The operation has encountered an error.
The operation has started.
This class has no sub classes.
Some methods using this class:
- WindowsStoreProductMBS.RequestPurchaseAsync(CompletionHandler as WindowsStoreContextMBS.RequestPurchaseCompletedMBS, PurchaseProperties as WindowsStorePurchasePropertiesMBS = nil)
- WindowsStoreSKUMBS.RequestPurchaseAsync(CompletionHandler as WindowsStoreContextMBS.RequestPurchaseCompletedMBS, PurchaseProperties as WindowsStorePurchasePropertiesMBS = nil)
Some examples using this class:
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
MBS Xojo tutorial videos