docs.unity3d.com
    Show / Hide Table of Contents

    Class FakeSamsungAppsExtensions

    Mock implementation for Samsung interfaces for stub and test purposes.

    Inheritance
    Object
    FakeSamsungAppsExtensions
    Namespace: UnityEngine.Purchasing
    Syntax
    public class FakeSamsungAppsExtensions : ISamsungAppsExtensions, IStoreExtension, ISamsungAppsConfiguration, IStoreConfiguration

    Methods

    RestoreTransactions(Action<Boolean>)

    Restores previously purchased transactions.

    Declaration
    public void RestoreTransactions(Action<bool> callback)
    Parameters
    Type Name Description
    Action<Boolean> callback

    The callback received after restoring transactions.

    Implements
    ISamsungAppsExtensions.RestoreTransactions(Action<Boolean>)

    SetMode(SamsungAppsMode)

    Sets the purchase mode for testing or shipping Samsung Apps.

    Declaration
    public void SetMode(SamsungAppsMode mode)
    Parameters
    Type Name Description
    SamsungAppsMode mode

    The way in which store purchases will behave. See SamsungAppsMode

    Implements
    ISamsungAppsConfiguration.SetMode(SamsungAppsMode)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023