docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetAppleProductMetadataExtension

    Extension class to ProductMetadata to add a method to retrieve the Apple Product Metadata

    Inheritance
    object
    GetAppleProductMetadataExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public static class GetAppleProductMetadataExtension

    Methods

    GetAppleProductMetadata(ProductMetadata)

    Get the Apple Product Metadata. Can be null.

    Declaration
    public static AppleProductMetadata GetAppleProductMetadata(this ProductMetadata productMetadata)
    Parameters
    Type Name Description
    ProductMetadata productMetadata

    Product Metadata

    Returns
    Type Description
    AppleProductMetadata

    Apple Product Metadata or null if the current store is not the Apple store.

    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)