Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsStoreContextMBS class.
WindowsStoreContextMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
See also:
WindowsStoreContextMBS.Constructor(Parent as DesktopWindow)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Initializes store and sets parent window to use for dialogs.
See also:
WindowsStoreContextMBS.Constructor(Parent as Window)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Initializes store and sets parent window to use for dialogs.
See also:
WindowsStoreContextMBS.GetAppLicenseAsync(CompletionHandler as GetAppLicenseCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Asynchronous version, which returns quickly and calls the given delegate later when done.
The StoreAppLicense object returned by this method provides access to licenses for add-ons and other info, such as whether the license is active. If this method is called while the device is offline, it returns the cached value of the current licenses on the device.
Some examples using this method:
WindowsStoreContextMBS.GetAppLicenseSync as WindowsStoreAppLicenseMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Synchronous version, which waits for the result.
The StoreAppLicense object returned by this method provides access to licenses for add-ons and other info, such as whether the license is active. If this method is called while the device is offline, it returns the cached value of the current licenses on the device.
WindowsStoreContextMBS.GetAssociatedStoreProductsAsync(productKinds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
productKinds: An array of strings that specify the types of add-ons for which you want to retrieve info.
WindowsStoreContextMBS.GetStoreProductForCurrentAppAsync(CompletionHandler as GetStoreProductForCurrentAppCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Some examples using this method:
WindowsStoreContextMBS.GetStoreProductsAsync(productKinds() as String, storeIds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
productKinds: An array of strings that specify the types of products for which you want to retrieve listing info.
storeIds: An array of the Store ID strings for the products for which you want to retrieve listing info.
Some examples using this method:
WindowsStoreContextMBS.GetUserCollectionAsync(productKinds() as String, CompletionHandler as GetStoreProductsCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
productKinds: An array of strings that specify the types of add-ons for which you want to retrieve info.
WindowsStoreContextMBS.RequestPurchaseAsync(CompletionHandler as RequestPurchaseCompletedMBS, StoreID as String, PurchaseProperties as WindowsStorePurchasePropertiesMBS = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
This method provides the option to specify additional details for a specific offer within a large catalog of products that are represented by a single listing in the Microsoft Store, including the product name to display to the user during the purchase.
StoreID: The Store ID of the app or the add-on that you want to purchase for the current user.
PurchaseProperties: The optional purchase properties with display name or additional JSON.
WindowsStoreContextMBS.RequestRateAndReviewAppAsync(CompletionHandler as RequestRateAndReviewAppCompletedMBS = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Store | MBS WinFrameworks Plugin | 20.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
This method will display the UI for the user to select a Store rating and add an optional Store review for the product.
The delegate will later be called with the result.
Some examples using this method:
The items on this page are in the following plugins: MBS WinFrameworks Plugin.