Interface IStoreProductsCallback
A public interface for a class that handles callbacks for retrieving products from a Store.
Namespace: UnityEngine.Purchasing.Extension
Assembly: Unity.Purchasing.dll
Syntax
public interface IStoreProductsCallback
Methods
OnProductsFetchFailed(ProductFetchFailureDescription)
Callback received when a FetchProducts call could not be completed successfully.
Declaration
void OnProductsFetchFailed(ProductFetchFailureDescription failureDescription)
Parameters
Type | Name | Description |
---|---|---|
ProductFetchFailureDescription | failureDescription | The reason the fetch failed. |
OnProductsFetched(IReadOnlyList<ProductDescription>)
Callback received when a FetchProducts call is completed successfully.
Declaration
void OnProductsFetched(IReadOnlyList<ProductDescription> products)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<ProductDescription> | products | The list of product descriptions retrieved. |