docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLocalizedIAPProductInfo

    GetLocalizedIAPProductInfo(string)

    This uses the purchasing adapter to get localized product info from the platform store.

    Declaration
    public static LocalizedProductMetadata GetLocalizedIAPProductInfo(string productId)
    Parameters
    Type Name Description
    string productId

    The product ID for which you want localized info.

    Returns
    Type Description
    LocalizedProductMetadata

    A struct containing localized name and price strings.

    Exceptions
    Type Condition
    Exception

    Throws an exception if no purchasing adapter has 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)