docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RestoreTransactions

    RestoreTransactions(Action<bool>)

    Initiate a request to Apple to restore previously made purchases.

    Declaration
    [Obsolete("RestoreTransactions(Action<bool> callback) is deprecated, please use RestoreTransactions(Action<bool, string> callback) instead.")]
    void RestoreTransactions(Action<bool> callback)
    Parameters
    Type Name Description
    Action<bool> callback

    Action will be called when the request to Apple comes back. The bool will be true if it was successful or false if it was not.

    RestoreTransactions(Action<bool, string>)

    Initiate a request to Apple to restore previously made purchases.

    Declaration
    void RestoreTransactions(Action<bool, string> callback)
    Parameters
    Type Name Description
    Action<bool, string> callback

    Action will be called when the request to Apple comes back. The bool will be true if it was successful with a null string or false if it was not with the error message in the string.

    In This Article
    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