Class UnityPurchasing
The core abstract implementation for Unity Purchasing.
Inherited Members
Namespace: UnityEngine.Purchasing
Syntax
public abstract class UnityPurchasing
Methods
ClearTransactionLog()
This is useful in certain test scenarios, such as repeatedly testing an App's behaviour when purchases are restored.
This is a static method since developers may wish to clear the log before initialising IAP.
Declaration
public static void ClearTransactionLog()
Initialize(IStoreListener, ConfigurationBuilder)
The main initialization call for Unity Purchasing.
Declaration
public static void Initialize(IStoreListener listener, ConfigurationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IStoreListener | listener | The |
ConfigurationBuilder | builder | The |