Class TransactionManager
This class contains methods to process virtual transactions and in-app purchases.
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public static class TransactionManager
Properties
Name | Description |
---|---|
is |
Returns true after TransactionManager has been successfully initialized with a data layer. |
pending |
|
purchasing |
An instance of the optional in-app purchasing adapter. |
purchasing |
Returns true if the optional purchasing adapter has finished initializing. |
Methods
Name | Description |
---|---|
Begin |
Process a transaction. |
Get |
This uses the purchasing adapter to get localized product info from the platform store. |
Initialize |
Tells TransactionManager to start using the specified in-app purchasing adapter to process all IAP transactions. |
Events
Name | Description |
---|---|
purchasing |
Fired after the purchasing adapter reports failing to initialize. |
purchasing |
Fired after the purchasing adapter reports successfully being initialized. |
transaction |
Fired after a transaction fails. |
transaction |
Fired as soon as a valid transaction is initiated. |
transaction |
Fired after every time the progress number is increased on a transaction's Deferred<TResult>. |
transaction |
Fired after a transaction has succeeded at all levels. |