Class CurrentApp
Wrapper class for the Windows Store API CurrentApp class.
Inherited Members
Namespace: UnityEngine.Purchasing.Default
Assembly: solution.dll
Syntax
public class CurrentApp
Properties
Name | Description |
---|---|
LicenseInformation | Read access to the current app's license metadata. |
Methods
Name | Description |
---|---|
BuildMockProducts(List<WinProductDescription>) | Dummy function implementing the building of Mock Products. |
GetUnfulfilledConsumablesAsync() | Returns a list of purchased consumable in-app products that have not been reported to the Microsoft Store as fulfilled.. |
LoadListingInformationAsync() | Loads the app's listing information asynchronously. Additionally, the listing information for available in-app products is also provided. |
ReportConsumableFulfillmentAsync(string, Guid) | Notifies the Microsoft Store that the purchase of a consumable add-on (also called an in-app product or IAP) is fulfilled and that the user has the right to access the content. |
RequestAppReceiptAsync() | Requests all receipts for the purchase of the app and any in-app products. |
RequestProductPurchaseAsync(string) | Requests the purchase of an add-on (also called an in-app product or IAP). Additionally, calling this method displays the UI that is used to complete the transaction via the Microsoft Store. |
RequestProductReceiptAsync(string) | Requests the purchase of an add-on (also called an in-app product or IAP). Additionally, calling this method displays the UI that is used to complete the transaction via the Microsoft Store. |