docs.unity3d.com
    Show / Hide Table of Contents

    Interface IGooglePlayConfiguration

    Access Google Play store specific configurations.

    Namespace: UnityEngine.Purchasing
    Syntax
    public interface IGooglePlayConfiguration : IStoreConfiguration

    Properties

    aggressivelyRecoverLostPurchases

    aggressivelyRecoverLostPurchases is deprecated, nothing will be returns and no code will be executed.

    Declaration
    bool aggressivelyRecoverLostPurchases { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    SetPublicKey(String)

    SetPublicKey is deprecated, nothing will be returns and no code will be executed.

    Declaration
    void SetPublicKey(string key)
    Parameters
    Type Name Description
    String key

    deprecated, nothing will be returns and no code will be executed.

    SetServiceDisconnectAtInitializeListener(Action)

    Set an optional listener for failures when connecting to the base Google Play Billing service. This may be called after UnityPurchasing.Initialize.Initialize if a user does not have a Google account added to their Android device.

    This listener can be used to learn that initialization is paused, and the user must add a Google account in order to be able to purchase and to download previous purchases. Adding a valid account will allow the initialization to resume.

    Declaration
    void SetServiceDisconnectAtInitializeListener(Action action)
    Parameters
    Type Name Description
    Action action

    Will be called when UnityPurchasing.Initialize.Initialize is interrupted by a disconnection from the Google Play Billing service.

    UsePurchaseTokenForTransactionId(Boolean)

    UsePurchaseTokenForTransactionId is deprecated, nothing will be returns and no code will be executed.

    Declaration
    void UsePurchaseTokenForTransactionId(bool usePurchaseToken)
    Parameters
    Type Name Description
    Boolean usePurchaseToken

    deprecated, nothing will be returns and no code will be executed.

    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