docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IUdpStore

    UDP store's interface

    Namespace: UnityEngine.UDP.stores
    Assembly: UDP.dll
    Syntax
    public interface IUdpStore

    Methods

    ConsumePurchase(List<PurchaseInfo>, IPurchaseListener)

    Consume multiple purchases.

    Declaration
    void ConsumePurchase(List<PurchaseInfo> purchaseInfos, IPurchaseListener listener)
    Parameters
    Type Name Description
    List<PurchaseInfo> purchaseInfos
    IPurchaseListener listener

    ConsumePurchase(PurchaseInfo, IPurchaseListener)

    Consume a consumable products.

    Declaration
    void ConsumePurchase(PurchaseInfo purchaseInfo, IPurchaseListener listener)
    Parameters
    Type Name Description
    PurchaseInfo purchaseInfo
    IPurchaseListener listener

    EnableDebugLogging(bool)

    EnableDebugLogging.

    Declaration
    void EnableDebugLogging(bool enable)
    Parameters
    Type Name Description
    bool enable

    EnableDebugLogging(bool, string)

    EnableDebugLogging with tag.

    Declaration
    void EnableDebugLogging(bool enable, string tag)
    Parameters
    Type Name Description
    bool enable
    string tag

    GetStoreName()

    Current store name.

    Declaration
    string GetStoreName()
    Returns
    Type Description
    string

    Initialize(IInitListener, AppInfo)

    Initialize method.

    Declaration
    void Initialize(IInitListener listener, AppInfo appInfo)
    Parameters
    Type Name Description
    IInitListener listener
    AppInfo appInfo

    LicenseCheck(ILicensingListener)

    CheckLicense method.

    Declaration
    void LicenseCheck(ILicensingListener licensingListener)
    Parameters
    Type Name Description
    ILicensingListener licensingListener

    Purchase(string, string, string, IPurchaseListener)

    Obsolete.

    Declaration
    void Purchase(string productId, string gameOrderId, string developerPayload, IPurchaseListener listener)
    Parameters
    Type Name Description
    string productId
    string gameOrderId
    string developerPayload
    IPurchaseListener listener

    Purchase(string, string, IPurchaseListener)

    Purchase method.

    Declaration
    void Purchase(string productId, string developerPayload, IPurchaseListener listener)
    Parameters
    Type Name Description
    string productId
    string developerPayload
    IPurchaseListener listener

    QueryInventory(List<string>, IPurchaseListener)

    QueryInventory with productIDs. It will return the information of queried products and not-consumed purchases.

    Declaration
    void QueryInventory(List<string> productIds, IPurchaseListener listener)
    Parameters
    Type Name Description
    List<string> productIds
    IPurchaseListener listener

    QueryInventory(IPurchaseListener)

    QueryInventory method.

    Declaration
    void QueryInventory(IPurchaseListener listener)
    Parameters
    Type Name Description
    IPurchaseListener listener
    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)