Class GooglePlayConfiguration
Access Google Play store specific configurations.
Namespace: UnityEngine.Purchasing
Syntax
public class GooglePlayConfiguration : object, IGooglePlayConfiguration, IStoreConfiguration
Properties
aggressivelyRecoverLostPurchases
aggressivelyRecoverLostPurchases is deprecated, nothing will be returns and no code will be executed.
Declaration
public bool aggressivelyRecoverLostPurchases { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Implements
Methods
NotifyInitializationConnectionFailed()
Internal API, do not use.
Declaration
public void NotifyInitializationConnectionFailed()
SetPublicKey(String)
SetPublicKey is deprecated, nothing will be returns and no code will be executed.
Declaration
public void SetPublicKey(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key | deprecated, nothing will be returns and no code will be executed. |
Implements
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.
Declaration
public void SetServiceDisconnectAtInitializeListener(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | Will be called when |
Implements
UsePurchaseTokenForTransactionId(Boolean)
UsePurchaseTokenForTransactionId is deprecated, nothing will be returns and no code will be executed.
Declaration
public void UsePurchaseTokenForTransactionId(bool usePurchaseToken)
Parameters
Type | Name | Description |
---|---|---|
Boolean | usePurchaseToken | deprecated, nothing will be returns and no code will be executed. |