docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FakeStore

    Inheritance
    object
    FakeStore
    Implements
    IUdpStore
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: UnityEngine.UDP.stores
    Assembly: UDP.dll
    Syntax
    public class FakeStore : IUdpStore

    Constructors

    FakeStore()

    Declaration
    public FakeStore()

    Methods

    ConsumePurchase(List<PurchaseInfo>, IPurchaseListener)

    Consume multiple purchases.

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

    ConsumePurchase(PurchaseInfo, IPurchaseListener)

    Consume a consumable products.

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

    EnableDebugLogging(bool)

    EnableDebugLogging.

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

    EnableDebugLogging(bool, string)

    EnableDebugLogging with tag.

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

    GetStoreName()

    Current store name.

    Declaration
    public string GetStoreName()
    Returns
    Type Description
    string

    Initialize(IInitListener, AppInfo)

    Initialize method.

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

    LicenseCheck(ILicensingListener)

    CheckLicense method.

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

    Purchase(string, string, string, IPurchaseListener)

    Obsolete.

    Declaration
    public 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
    public 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
    public void QueryInventory(List<string> productIds, IPurchaseListener listener)
    Parameters
    Type Name Description
    List<string> productIds
    IPurchaseListener listener

    QueryInventory(IPurchaseListener)

    QueryInventory method.

    Declaration
    public void QueryInventory(IPurchaseListener listener)
    Parameters
    Type Name Description
    IPurchaseListener listener

    Implements

    IUdpStore
    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)