WindowsIap class

Client API for Microsoft Store purchases and license information.

This API can only be called from a packaged Windows application associated with a Microsoft Store product. For authoritative commercial subscription state, validate the entitlement on your server as well.

Implementers

Constructors

WindowsIap()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkPurchase({String storeId = ''}) Future<bool>
Performs a best-effort client-side entitlement check.
getAddonLicenses() Future<Map<String, StoreLicense>>
Returns the add-on licenses currently reported by Microsoft Store.
getAppLicense() Future<StoreAppLicense>
Gets the current app license and its add-on license collection.
getProducts() Future<List<Product>>
Gets the associated Microsoft Store products, including SKU, subscription period, price, trial and availability data.
makePurchase(String storeId) Future<StorePurchaseStatus?>
Opens the Microsoft Store purchase UI for storeId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited