docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsIapProductOwned

    IsIapProductOwned(string)

    Determine if specified Product Id is owned by the player.

    Declaration
    public static bool IsIapProductOwned(string productId)
    Parameters
    Type Name Description
    string productId

    Product Id for which to search.

    Returns
    Type Description
    bool

    true if specifeid Product Id is owned by the player, otherwise false.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if TransactionManager has not been initialized.

    In This Article
    Back to top
    Copyright © 2024 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)