docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)