docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FakeGooglePlayStoreExtensions

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Access GooglePlay store specific functionality.

    Inheritance
    object
    FakeGooglePlayStoreExtensions
    Implements
    IGooglePlayStoreExtensions
    IStoreExtension
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing
    Assembly: solution.dll
    Syntax
    public class FakeGooglePlayStoreExtensions : IGooglePlayStoreExtensions, IStoreExtension

    Methods

    Name Description
    ConfirmSubscriptionPriceChange(string, Action<bool>)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Initiate a flow to confirm the change of price for an item subscribed by the user.

    GetPurchaseState(Product)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Determines the purchase state of a product in the Google Play Store based on its receipt.

    IsPurchasedProductDeferred(Product)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Determines if the purchase of a product in the Google Play Store is deferred based on its receipt. This indicates if there is an additional step to complete a transaction in between when a user initiates a purchase and when the payment method for the purchase is processed. Handling pending transactions

    RestoreTransactions(Action<bool, string>)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

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

    RestoreTransactions(Action<bool>)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

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

    UpgradeDowngradeSubscription(string, string)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Upgrade or downgrade subscriptions, with proration mode IMMEDIATE_WITHOUT_PRORATION by default See more

    UpgradeDowngradeSubscription(string, string, int)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Upgrade or downgrade subscriptions

    UpgradeDowngradeSubscription(string, string, GooglePlayProrationMode)

    THIS IS A FAKE, NO CODE WILL BE EXECUTED!

    Upgrade or downgrade subscriptions

    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