Interface IStoreCallback
Callback interface for IStores.
Namespace: UnityEngine.Purchasing.Extension
Assembly: solution.dll
Syntax
public interface IStoreCallback
Properties
Name | Description |
---|---|
products | For querying product information. |
useTransactionLog | Stores may opt to disable Unity IAP's transaction log if they offer a robust transaction system of their own (e.g. Apple). The default value is 'true'. |
Methods
Name | Description |
---|---|
OnAllPurchasesRetrieved(List<Product>) | Inform Unity Purchasing of all active purchases. |
OnProductsRetrieved(List<ProductDescription>) | Complete setup by providing a list of available products, complete with metadata and any associated purchase receipts and transaction IDs. Any previously unseen purchases will be completed by the PurchasingManager. |
OnPurchaseFailed(PurchaseFailureDescription) | Notify a failed purchase with associated details. |
OnPurchaseSucceeded(string, string, string) | Inform Unity Purchasing of a purchase. |
OnSetupFailed(InitializationFailureReason) | Purchasing unavailable. |
OnSetupFailed(InitializationFailureReason, string) | Purchasing unavailable. |