docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RestoreTransactions

    RestoreTransactions(Action<bool>)

    Async call to the google store to queryPurchases using all the different support sku types.

    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

    Will be called as often as many purchases the queryPurchases finds. (the IStoreCallback will be called as well)

    RestoreTransactions(Action<bool, string>)

    Async call to the google store to queryPurchases using all the different support sku types.

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

    Will be called as often as many purchases the queryPurchases finds (the IStoreCallback will be called as well). 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